Madalyn commited on
Commit
2a4d875
·
unverified ·
1 Parent(s): da9d3dd

Create deploy.yml

Browse files
Files changed (1) hide show
  1. deploy.yml +18 -0
deploy.yml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face hub
2
+ on:
3
+ push: branches: [main]
4
+
5
+ # to run this workflow manually from the Actions tab
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ sync-to-hf:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout Repo
13
+ uses: actions/checkout@v3
14
+ - name: Push to Hugging Face Space
15
+ uses: huggingface/huggingface-action@v1
16
+ with:
17
+ repo-token: ${{ secrets.HF_TOKEN }}
18
+ repo-id: WpiCs553/Part-1