SK Md Shahid commited on
Commit
0251570
·
unverified ·
1 Parent(s): 4ac358c

Create deploy.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/deploy.yml +18 -0
.github/workflows/deploy.yml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Deploy to Hugging Face Spaces
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Check out repository
13
+ uses: actions/checkout@v2
14
+
15
+ - name: Deploy to Hugging Face Spaces
16
+ uses: huggingface/github-action-deploy-spaces@main
17
+ with:
18
+ hf_token: ${{ secrets.HF_TOKEN }}