MsSaidat25 commited on
Commit
9b23bd3
·
unverified ·
1 Parent(s): 73745c0

Add GitHub Actions workflow for syncing to Hugging Face

Browse files
Files changed (1) hide show
  1. .github/workflows/sync.yml +16 -0
.github/workflows/sync.yml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face
2
+ on:
3
+ push:
4
+ branches: [main]
5
+
6
+ jobs:
7
+ sync-to-hub:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ with:
12
+ fetch-depth: 0
13
+ - name: Push to Hugging Face
14
+ env:
15
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
16
+ run: git push https://mssaidat:$HF_TOKEN@huggingface.co/spaces/mssaidat/AIEngineerProjects main