Spico commited on
Commit
aa0f965
·
1 Parent(s): 0841c28

update github workflow

Browse files
Files changed (1) hide show
  1. .github/workflows/hf_spaces.yml +2 -1
.github/workflows/hf_spaces.yml CHANGED
@@ -9,11 +9,12 @@ on:
9
  jobs:
10
  sync-to-hub:
11
  runs-on: ubuntu-latest
 
12
  steps:
13
  - uses: actions/checkout@v3
14
  with:
15
  fetch-depth: 0
16
  - name: Push to hub
17
  env:
18
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
19
  run: git push https://Spico:[email protected]/spaces/Spico/paper-hero main
 
9
  jobs:
10
  sync-to-hub:
11
  runs-on: ubuntu-latest
12
+ environment: hf_spaces
13
  steps:
14
  - uses: actions/checkout@v3
15
  with:
16
  fetch-depth: 0
17
  - name: Push to hub
18
  env:
19
+ HF_TOKEN: ${{ env.HF_TOKEN }}
20
  run: git push https://Spico:[email protected]/spaces/Spico/paper-hero main