try how it kinda should work (again)
This commit is contained in:
parent
859c622522
commit
5152d2e633
1 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue