FexbYk23 commited on
Commit
68d4dd2
·
unverified ·
1 Parent(s): e9826a0

upload tp huggingface in workflow

Browse files
.github/workflows/docker-publish.yml CHANGED
@@ -25,3 +25,18 @@ jobs:
25
  with:
26
  push: true
27
  tags: anaosnia/express-app:latest
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  with:
26
  push: true
27
  tags: anaosnia/express-app:latest
28
+
29
+
30
+ publish-huggingface:
31
+ runs-on: ubuntu-latest
32
+ steps:
33
+ - uses: actions/checkout@v3
34
+ with:
35
+ fetch-depth: 0
36
+ lfs: true
37
+
38
+ - name: Push to huggingface
39
+ env:
40
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
41
+ HF_USER: ${{ vars.HF_USERNAME }}
42
+ run: git push --force https://$HF_USER:$HF_TOKEN@huggingface.co/spaces/$HF_USER/express-app master:main