Spaces:
Running
Running
fix[action]: add git lfs
Browse files
.github/workflows/push-to-hf-dev.yml
CHANGED
@@ -13,6 +13,13 @@ jobs:
|
|
13 |
with:
|
14 |
fetch-depth: 0
|
15 |
lfs: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
- name: Push to DEV hub
|
17 |
env:
|
18 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
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 DEV hub
|
24 |
env:
|
25 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
.github/workflows/push-to-hf.yml
CHANGED
@@ -13,6 +13,13 @@ jobs:
|
|
13 |
with:
|
14 |
fetch-depth: 0
|
15 |
lfs: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
- name: Push to hub
|
17 |
env:
|
18 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
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 }}
|