[chore] GitHub Actionsのワークフローを改善
Browse files- Git LFSのプルを行うステップを追加
- `git lfs install`と`git lfs pull`を実行
- HuggingFaceへのプッシュ時の余分な改行を削除
- `\\ No newline at end of file`を削除し、コマンドをより簡潔に
.github/workflows/run.yaml
CHANGED
@@ -13,7 +13,11 @@ jobs:
|
|
13 |
with:
|
14 |
fetch-depth: 0
|
15 |
lfs: true
|
|
|
|
|
|
|
|
|
16 |
- name: Push to hub
|
17 |
env:
|
18 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
19 |
-
run: git push --force
|
|
|
13 |
with:
|
14 |
fetch-depth: 0
|
15 |
lfs: true
|
16 |
+
- name: Git LFS Pull
|
17 |
+
run: |
|
18 |
+
git lfs install
|
19 |
+
git lfs pull
|
20 |
- name: Push to hub
|
21 |
env:
|
22 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
23 |
+
run: git push --force https://MakiAi:$HF_TOKEN@huggingface.co/spaces/MakiAi/SlideNova main
|