Junbo Koh commited on
Commit
9c7f56e
1 Parent(s): d19da7b

Create cd.yml

Browse files

Manage HF Space with github actions

Files changed (1) hide show
  1. .github/workflows/cd.yml +23 -0
.github/workflows/cd.yml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face hub
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ paths-ignore: ["/README.md"]
8
+
9
+ workflow_dispatch:
10
+
11
+ jobs:
12
+ sync-to-hub:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ with:
17
+ fetch-depth: 0
18
+ lfs: true
19
+ - name: Push to hub
20
+ env:
21
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
22
+ run: git push https://Ridealist:[email protected]/spaces/Ridealist/chat_bot main
23
+