dewa commited on
Commit
cb95dff
2 Parent(s): a449372 122a424

Merge branch 'main' of https://github.com/dewasahu2003/text-summurisation-gradio

Browse files
Files changed (1) hide show
  1. .github/workflows/hfDeploy.yml +23 -0
.github/workflows/hfDeploy.yml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ name: Hugging Face Deploy
4
+ on:
5
+ push:
6
+ branches: [ "main" ]
7
+ workflow_dispatch:
8
+ jobs:
9
+ sync-to-hub:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ with:
14
+ fetch-depth: 0
15
+ - name: add remote
16
+ env:
17
+ HF: ${{secrets.HGF}}
18
+ run: git remote add space https://Dewa:$HF@huggingface.co/spaces/Dewa/Text-Summurisation
19
+
20
+ - name: push-to-hub
21
+ env:
22
+ HF: ${{secrets.HGF}}
23
+ run: git push --force https://Dewa:$HF@huggingface.co/spaces/Dewa/Text-Summurisation main