Steve commited on
Commit
9e1a385
·
unverified ·
1 Parent(s): acdc076

Update main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +7 -3
.github/workflows/main.yml CHANGED
@@ -1,6 +1,6 @@
1
  #This bis a basic workflow to get started with Actions
2
 
3
- name: CI
4
 
5
  # Controls when the workflow will run
6
  on:
@@ -23,5 +23,9 @@ jobs:
23
  fetch-depth: 0
24
  - name: Add remote
25
  env:
26
- HF: ${{ secrets.HF}}
27
- run: git remode add space
 
 
 
 
 
1
  #This bis a basic workflow to get started with Actions
2
 
3
+ name: Synch to Hugging Face hub
4
 
5
  # Controls when the workflow will run
6
  on:
 
23
  fetch-depth: 0
24
  - name: Add remote
25
  env:
26
+ HF: ${{ secrets.HF }}
27
+ run: git remode add space https://LoicSteve:[email protected]/spaces/LoicSteve/demo1
28
+ - name: push to hub
29
+ env:
30
+ HF: ${{ secrets.HF }}
31
+ run: git push --force https://LoicSteve:[email protected]/spaces/LoicSteve/demo1 main