dewa commited on
Commit
122a424
·
unverified ·
1 Parent(s): 709b1df

Create hfDeploy.yml

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:[email protected]/spaces/Dewa/Text-Summurisation
19
+
20
+ - name: push-to-hub
21
+ env:
22
+ HF: ${{secrets.HGF}}
23
+ run: git push --force https://Dewa:[email protected]/spaces/Dewa/Text-Summurisation main