diff --git a/.forgejo/workflows/nix_build.yaml b/.forgejo/workflows/nix_build.yaml index acb729f..aa8f5f1 100644 --- a/.forgejo/workflows/nix_build.yaml +++ b/.forgejo/workflows/nix_build.yaml @@ -60,16 +60,16 @@ jobs: - name: nix build chungus run: nix build .#nixosConfigurations.chungus.config.system.build.toplevel -# - name: push if all fine -# if: ${{ github.event_name == 'schedule' }} -# run: | -# -# git config --local user.email "action@git.ingolf-wagner.de" -# git config --local user.name "Forgejo Action" -# -# git diff --quiet && \ -# git diff --staged --quiet || \ -# (git commit -am "Update Nix flakes" && git push) + - name: push if all fine + if: ${{ github.event_name == 'schedule' }} + run: | + + git config --local user.email "action@git.ingolf-wagner.de" + git config --local user.name "Forgejo Action" + + git diff --quiet && \ + git diff --staged --quiet || \ + (git commit -am "Update Nix flakes" && git push) #name: Build all NixOS Configurations