try how it kinda should work
This commit is contained in:
parent
17806e1b2e
commit
859c622522
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