We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc4f196 commit a000c2dCopy full SHA for a000c2d
.github/workflows/deploy.yml
@@ -32,10 +32,12 @@ jobs:
32
env:
33
HF_TOKEN: ${{ secrets.HF_TOKEN }}
34
run: |
35
- cd dist
36
- git init
+ git clone https://huggingface.co/spaces/mlc-ai/${{ vars.SPACE_NAME }} hf_space
+ cd hf_space
37
+ rm -rf ./*
38
+ cp -r ../dist/* .
39
git config user.email "github-actions[bot]@users.noreply.github.com"
40
git config user.name "github-actions[bot]"
41
git add .
42
git commit -m "Update build artifacts and README"
- git push --force https://${{ secrets.HF_USERNAME }}:[email protected]/spaces/${{ secrets.HF_USERNAME }}/${{ secrets.SPACE_NAME }} HEAD:main
43
+ git push origin
0 commit comments