codegood commited on
Commit
1209f4a
·
1 Parent(s): d427ad7

HF ci/cd added

Browse files
Files changed (1) hide show
  1. .github/workflows/sync_to_hub.yaml +17 -0
.github/workflows/sync_to_hub.yaml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face Hub
2
+ on:
3
+ push:
4
+ branches: [main]
5
+ workflow_dispatch:
6
+
7
+ jobs:
8
+ sync-to-hub:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ with:
13
+ fetch-depth: 0
14
+ - name: Push to hub
15
+ env:
16
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
17
+ run: git push https://codegood:$HF_TOKEN@https://huggingface.co/spaces/codegood/job-chat main