Spaces:
Sleeping
Sleeping
Fix sync.yml
Browse files
.github/workflows/sync.yml
CHANGED
@@ -6,6 +6,9 @@ on:
|
|
6 |
jobs:
|
7 |
sync-to-hub:
|
8 |
runs-on: ubuntu-latest
|
|
|
|
|
|
|
9 |
steps:
|
10 |
- uses: actions/checkout@v3
|
11 |
- name: Push to hub
|
@@ -14,4 +17,4 @@ jobs:
|
|
14 |
run: |
|
15 |
git config --global user.email "[email protected]"
|
16 |
git config --global user.name "GitHub Actions"
|
17 |
-
git push https://nragrawal:[email protected]/spaces/nragrawal/ImagenetResnetModel main
|
|
|
6 |
jobs:
|
7 |
sync-to-hub:
|
8 |
runs-on: ubuntu-latest
|
9 |
+
permissions:
|
10 |
+
contents: read
|
11 |
+
id-token: write
|
12 |
steps:
|
13 |
- uses: actions/checkout@v3
|
14 |
- name: Push to hub
|
|
|
17 |
run: |
|
18 |
git config --global user.email "[email protected]"
|
19 |
git config --global user.name "GitHub Actions"
|
20 |
+
git push https://nragrawal:[email protected]/spaces/nragrawal/ImagenetResnetModel main
|