quanliangliu commited on
Commit
eb91cea
·
unverified ·
1 Parent(s): 84f47f5

Add workflow to sync to Hugging Face Hub

Browse files
Files changed (1) hide show
  1. .github/workflows/sync-to-hf.yml +18 -0
.github/workflows/sync-to-hf.yml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face Hub
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ sync:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v6
13
+ - uses: huggingface/hub-sync@v0.1.0
14
+ with:
15
+ github_repo_id: ${{ github.repository }}
16
+ huggingface_repo_id: quanliang/MatSciBot
17
+ hf_token: ${{ secrets.HF_TOKEN }}
18
+ repo_type: space