Skip to content

Commit

Permalink
ci: hg
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Oct 19, 2024
1 parent a24116b commit 1c86bdc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-to-hf-spaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
if: needs.check-secret.outputs.token-set == 'true'
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HF_REPO: ${{ secrets.HF_REPO }}
HF_USER: ${{ secrets.HF_USER }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -55,4 +57,4 @@ jobs:
git lfs track "*.ttf"
git add .
git commit -m "GitHub deploy: ${{ github.sha }}"
git push --force https://auto:${HF_TOKEN}@huggingface.co/spaces/14790897abc/auto main
git push --force https://${HF_USER}:${HF_TOKEN}@huggingface.co/spaces/${HF_USER}/${HF_REPO} main

0 comments on commit 1c86bdc

Please sign in to comment.