add comments
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 6m59s

This commit is contained in:
Ingolf Wagner 2024-07-21 13:07:09 +02:00
parent 6b5b8cd9bf
commit 8bc98a55a3
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

@ -15,6 +15,7 @@ jobs:
- name: update nix flakes
if: ${{ github.event_name == 'schedule' }}
# we need to use our ssh key here because we need access to private flakes
run: |
cat <<EOF > .ssh_key
${{ secrets.SSH_KEY }}
@ -30,7 +31,8 @@ jobs:
kill $SSH_AGENT_PID
rm .ssh_key
- name: nix flake archive
- name: nix flake archive/check
# we need to use our ssh key here because we need access to private flakes
run: |
cat <<EOF > .ssh_key
${{ secrets.SSH_KEY }}
@ -59,8 +61,9 @@ jobs:
- name: nix build chungus
run: nix build .#nixosConfigurations.chungus.config.system.build.toplevel
- name: push
- name: commit & push
if: ${{ github.event_name == 'schedule' }}
# only if all nix builds are fine we update our branch
run: |
git config --local user.email "action@git.ingolf-wagner.de"
git config --local user.name "Forgejo Action :robot:"