andreaschandra commited on
Commit
b6cb1d7
·
1 Parent(s): 0021b8e

add gh actions

Browse files
.github/workflows/sync_to_hf_spaces.yml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face hub
2
+ on:
3
+ workflow_dispatch:
4
+
5
+ jobs:
6
+ sync-to-hub:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+ with:
11
+ fetch-depth: 0
12
+ lfs: true
13
+ - name: Push to hub
14
+ env:
15
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
16
+ run: git push https://andreaschandra:[email protected]/spaces/andreaschandra/learn-hf-spaces main