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