sibyllabs commited on
Commit
5d8e6a6
·
1 Parent(s): 2b83607

ci: mirror repo to Hugging Face (SibylLabsLLC/Sibyl-Memory) on push to main + manual dispatch

Browse files
Files changed (1) hide show
  1. .github/workflows/hf-mirror.yml +20 -0
.github/workflows/hf-mirror.yml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Mirror to Hugging Face
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ mirror:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout (full history)
13
+ uses: actions/checkout@v4
14
+ with:
15
+ fetch-depth: 0
16
+ - name: Push to Hugging Face Hub
17
+ env:
18
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
19
+ run: |
20
+ git push --force "https://sibyllabs:${HF_TOKEN}@huggingface.co/SibylLabsLLC/Sibyl-Memory" HEAD:main