workflow: use force pushing
This commit is contained in:
parent
4cce287379
commit
9fa984aa14
@ -18,8 +18,7 @@ jobs:
|
||||
|
||||
- name: Fetch latest changes and reset branch
|
||||
run: |
|
||||
git fetch origin main
|
||||
git status
|
||||
git fetch origin
|
||||
git rebase origin/main
|
||||
|
||||
- name: Set up Nix
|
||||
@ -38,5 +37,5 @@ jobs:
|
||||
echo "No changes to commit."
|
||||
else
|
||||
git commit -m "Update flake.lock $(date -I)"
|
||||
git push origin flake-updates
|
||||
git push -f origin flake-updates
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user