Farid Karimli commited on
Commit
ee8e32c
·
1 Parent(s): 3f86a54

Deployment workflow

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy_to_hf.yml +21 -0
.github/workflows/deploy_to_hf.yml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Push Production to HuggingFace
2
+
3
+ on:
4
+ push:
5
+ branches: [main, retargeting]
6
+
7
+ # run this workflow manualy from the Actions tab
8
+ workflow_dispatch:
9
+
10
+ jobs:
11
+ sync-to-hub:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ with:
16
+ fetch-depth: 0
17
+ lfs: true
18
+ - name: Deploy Production (main) to HuggingFace
19
+ env:
20
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
21
+ run: git push --force https://faridkarimli:[email protected]/spaces/edubotics/dl4ds_tutor main:main