q6 commited on
Commit
0aa85e2
·
1 Parent(s): 5f3b56f

Mirror main to Hugging Face

Browse files
Files changed (1) hide show
  1. .github/workflows/huggingface.yml +21 -0
.github/workflows/huggingface.yml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Mirror Hugging Face
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ mirror:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v6
16
+ with:
17
+ fetch-depth: 0
18
+ persist-credentials: false
19
+ - env:
20
+ Q6_HF_TOKEN: ${{ secrets.Q6_HF_TOKEN }}
21
+ run: git push --force "https://q6:${Q6_HF_TOKEN}@huggingface.co/spaces/q6/C" HEAD:main