cahya commited on
Commit
4ad8c69
1 Parent(s): 9749435

Create hf-spaces.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/hf-spaces.yml +21 -0
.github/workflows/hf-spaces.yml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face hub
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+
7
+ # to run this workflow manually 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@v2
15
+ with:
16
+ fetch-depth: 0
17
+ - name: Push to hub
18
+ env:
19
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
+ run: |
21
+ git push https://indonesian-nlp:[email protected]/spaces/indonesian-nlp/gpt2-app main