Spaces:
Running
Running
fix[action]: revert action to simple push
Browse files
.github/workflows/push-to-hf-dev.yml
CHANGED
@@ -14,23 +14,6 @@ jobs:
|
|
14 |
fetch-depth: 0
|
15 |
lfs: true
|
16 |
|
17 |
-
- name: Set Git identity
|
18 |
-
run: |
|
19 |
-
git config user.name "github-actions[bot]"
|
20 |
-
git config user.email "github-actions[bot]@users.noreply.github.com"
|
21 |
-
|
22 |
-
- name: Set up Git LFS
|
23 |
-
run: |
|
24 |
-
git lfs install
|
25 |
-
git lfs track "*.png"
|
26 |
-
git add .gitattributes
|
27 |
-
git commit -m "Track PNGs with Git LFS" || echo "No changes to commit"
|
28 |
-
|
29 |
-
- name: Migrate existing PNGs to LFS
|
30 |
-
run: |
|
31 |
-
git lfs migrate import --include="src/images/design/*.png"
|
32 |
-
git commit -m "Migrate PNG images to LFS" || echo "No changes to commit"
|
33 |
-
|
34 |
- name: Push to Hugging Face
|
35 |
env:
|
36 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
14 |
fetch-depth: 0
|
15 |
lfs: true
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
- name: Push to Hugging Face
|
18 |
env:
|
19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
.github/workflows/push-to-hf.yml
CHANGED
@@ -13,13 +13,6 @@ jobs:
|
|
13 |
with:
|
14 |
fetch-depth: 0
|
15 |
lfs: true
|
16 |
-
- name: Set up Git LFS
|
17 |
-
run: |
|
18 |
-
git lfs install
|
19 |
-
git lfs track "*.png"
|
20 |
-
git add .gitattributes
|
21 |
-
git add src/images/design/challenge1.png src/images/design/challenge2.png src/images/design/leaderboard.png
|
22 |
-
git commit -m "Track images with Git LFS" || echo "No changes to commit"
|
23 |
- name: Push to hub
|
24 |
env:
|
25 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
13 |
with:
|
14 |
fetch-depth: 0
|
15 |
lfs: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
- name: Push to hub
|
17 |
env:
|
18 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|