maximedenes commited on
Commit
2a00bb7
Β·
unverified Β·
1 Parent(s): e04b100

Force push when deploying

Browse files
.github/workflows/cd.yml CHANGED
@@ -27,4 +27,4 @@ jobs:
27
  git config user.name "CoordIA Bot"
28
  git config user.email "(none)"
29
  git cherry-pick $DEV_TITLE_COMMIT
30
- git push https://$HF_USERNAME:[email protected]/spaces/$HF_ORGANIZATION/$SPACE_NAME HEAD:main
 
27
  git config user.name "CoordIA Bot"
28
  git config user.email "(none)"
29
  git cherry-pick $DEV_TITLE_COMMIT
30
+ git push -f https://$HF_USERNAME:[email protected]/spaces/$HF_ORGANIZATION/$SPACE_NAME HEAD:main
.github/workflows/prod.yml CHANGED
@@ -19,4 +19,4 @@ jobs:
19
  HF_ORGANIZATION: ${{ vars.HF_ORGANIZATION }}
20
  SPACE_NAME: ${{ vars.SPACE_NAME }}
21
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
22
- run: git push https://$HF_USERNAME:[email protected]/spaces/$HF_ORGANIZATION/$SPACE_NAME HEAD:main
 
19
  HF_ORGANIZATION: ${{ vars.HF_ORGANIZATION }}
20
  SPACE_NAME: ${{ vars.SPACE_NAME }}
21
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
22
+ run: git push -f https://$HF_USERNAME:[email protected]/spaces/$HF_ORGANIZATION/$SPACE_NAME HEAD:main