Max Chis
commited on
Commit
·
8929439
1
Parent(s):
b690bb2
Create sync-to-hf.yml
Browse files
.github/workflows/sync-to-hf.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# .github/workflows/sync-to-hf.yml
|
| 2 |
+
name: Sync to Hugging Face
|
| 3 |
+
|
| 4 |
+
on:
|
| 5 |
+
push:
|
| 6 |
+
branches: [main]
|
| 7 |
+
|
| 8 |
+
jobs:
|
| 9 |
+
sync:
|
| 10 |
+
runs-on: ubuntu-latest
|
| 11 |
+
steps:
|
| 12 |
+
- uses: actions/checkout@v3
|
| 13 |
+
- name: Push to Hugging Face
|
| 14 |
+
run: |
|
| 15 |
+
git remote add hf https://<HF_USERNAME>:<HF_TOKEN>@huggingface.co/<HF_USERNAME>/<REPO_NAME>
|
| 16 |
+
git push hf main
|