Skip to content

Commit 2ec2425

Browse files
authored
No credential persistence
1 parent cf46db1 commit 2ec2425

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/sync.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
3232
- name: Push main branch
3333
run: |
34-
git config --unset-all http.https://github.com/.extraheader
35-
git push ssh://[email protected]/PawprintPrototyping/admin.git main
36-
34+
git config pull.ff only
35+
git pull ssh://[email protected]/PawprintPrototyping/admin.git main
36+
git push --force-with-lease ssh://[email protected]/PawprintPrototyping/admin.git main
37+
git push origin main
3738

0 commit comments

Comments
 (0)