Skip to content

Commit

Permalink
Experimenting with CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinlyons committed Nov 13, 2023
1 parent 32700a2 commit 97ac816
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test-nix-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ jobs:
# Build the Nix Flake
- name: Build Nix Flake
run: nix build --extra-experimental-features 'nix-command flakes' .#nixos
run: |
cd /home/runner/work/nixos-config/nixos-config/my-config
nix build --extra-experimental-features 'nix-command flakes' .#nixos
4 changes: 3 additions & 1 deletion bin/apply-ci
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ replace_tokens() {
}

# Traverse directories and replace tokens in each Nix file
export -f replace_tokens
find . -type f -exec bash -c 'replace_tokens "$0"' {} \;

echo "$USERNAME" > /tmp/username.txt
echo "$USERNAME" > /tmp/username.txt
_print "${GREEN}User $USERNAME information applied.${NC}"

0 comments on commit 97ac816

Please sign in to comment.