try how it kinda should work
Some checks failed
Build all NixOS Configurations / nix build (push) Has been cancelled

This commit is contained in:
Ingolf Wagner 2024-07-21 12:35:16 +02:00
parent 17806e1b2e
commit 859c622522
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

@ -60,16 +60,16 @@ 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 if all fine # - name: push if all fine
if: ${{ github.event_name == 'schedule' }} # if: ${{ github.event_name == 'schedule' }}
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" # git config --local user.name "Forgejo Action"
#
git diff --quiet && \ # git diff --quiet && \
git diff --staged --quiet || \ # git diff --staged --quiet || \
(git commit -am "Update Nix flakes" && git push) # (git commit -am "Update Nix flakes" && git push)
#name: Build all NixOS Configurations #name: Build all NixOS Configurations