SOY NV AI
commited on
Commit
ยท
e64928d
1
Parent(s):
626865e
Update GitHub Actions workflow configuration
Browse files
.github/workflows/sync_to_hub.yml
CHANGED
|
@@ -1,23 +1,35 @@
|
|
| 1 |
name: Sync to Hugging Face hub
|
| 2 |
on:
|
| 3 |
push:
|
| 4 |
-
branches: [main]
|
| 5 |
workflow_dispatch:
|
| 6 |
|
| 7 |
jobs:
|
| 8 |
sync-to-hub:
|
| 9 |
runs-on: ubuntu-latest
|
| 10 |
steps:
|
| 11 |
-
# 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
- uses: actions/checkout@v3
|
| 13 |
with:
|
| 14 |
fetch-depth: 0
|
| 15 |
lfs: true
|
| 16 |
-
# (์ฃผ์: ์ฌ๊ธฐ์ repository: / ๋๋ path: hf-space ๊ฐ์ ์ค์ด ์์ผ๋ฉด ์ ๋ฉ๋๋ค!)
|
| 17 |
|
| 18 |
-
#
|
| 19 |
- name: Push to hub
|
| 20 |
env:
|
| 21 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 22 |
-
# ์๋
|
| 23 |
run: git push https://wiizm:$HF_TOKEN@huggingface.co/spaces/wiizm main
|
|
|
|
| 1 |
name: Sync to Hugging Face hub
|
| 2 |
on:
|
| 3 |
push:
|
| 4 |
+
branches: [main]
|
| 5 |
workflow_dispatch:
|
| 6 |
|
| 7 |
jobs:
|
| 8 |
sync-to-hub:
|
| 9 |
runs-on: ubuntu-latest
|
| 10 |
steps:
|
| 11 |
+
# 1. [ํต์ฌ] ๋์คํฌ ์ฉ๋ ํ๋ณด (์ธ๋ฐ์๋ ํ๋ก๊ทธ๋จ ์ญ์ )
|
| 12 |
+
- name: Free Disk Space (Ubuntu)
|
| 13 |
+
uses: jlumbroso/free-disk-space@main
|
| 14 |
+
with:
|
| 15 |
+
# AI ํ๋ก์ ํธ์ ๋ถํ์ํ ๊ฒ๋ค์ ๊ณผ๊ฐํ๊ฒ ์ง์๋๋ค.
|
| 16 |
+
tool-cache: true
|
| 17 |
+
android: true
|
| 18 |
+
dotnet: true
|
| 19 |
+
haskell: true
|
| 20 |
+
large-packages: true
|
| 21 |
+
docker-images: true
|
| 22 |
+
swap-storage: true
|
| 23 |
+
|
| 24 |
+
# 2. ๋ด ์ฝ๋ ๊ฐ์ ธ์ค๊ธฐ
|
| 25 |
- uses: actions/checkout@v3
|
| 26 |
with:
|
| 27 |
fetch-depth: 0
|
| 28 |
lfs: true
|
|
|
|
| 29 |
|
| 30 |
+
# 3. Hugging Face๋ก ๋ฐ์ด๋ฃ๊ธฐ
|
| 31 |
- name: Push to hub
|
| 32 |
env:
|
| 33 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 34 |
+
# [์ฃผ์] ์๋ ์ฃผ์์ ๋ณธ์ธ ์์ด๋์ ์คํ์ด์ค ์ด๋ฆ์ ํ์ธํ์ธ์!
|
| 35 |
run: git push https://wiizm:$HF_TOKEN@huggingface.co/spaces/wiizm main
|