add comments

This commit is contained in:
Ingolf Wagner 2024-07-21 13:07:09 +02:00
parent 6b5b8cd9bf
commit 8bc98a55a3
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

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