update workflow: commit only on flake changes
All checks were successful
/ deploy (push) Successful in 22s

This commit is contained in:
toufic ar 2026-01-26 21:22:41 +02:00
parent a560753e1c
commit ba06187bd9
Signed by: toufic ar
SSH key fingerprint: SHA256:/NaO5I1nG3gYKzrzSiTYIdRyaIYxDWfr1U+d+yfJ/4k

View file

@ -16,10 +16,8 @@ jobs:
git config --global user.name "actions_user"
- name: update flake.lock
run: nix --extra-experimental-features "nix-command flakes" flake update
- name: diff flake.lock
run: git diff --exit-code flake.lock && exit 0
- name: commit and push update
run: |
git add .
git diff --exit-code flake.lock && exit 0 || echo ""
git commit -m "update flake.lock"
git push "https://actions_user:${{ secrets.WRITE_TOKEN }}@git.toufy.me/toufy/adonis" "main"