Spaces:
Sleeping
Sleeping
update github workflow
Browse files
.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: ${{
|
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
|