We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b6b15a commit 75fd64cCopy full SHA for 75fd64c
1 file changed
.github/workflows/sync-huggingface.yml
@@ -0,0 +1,33 @@
1
+name: Push to Hugging Face
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
+concurrency:
10
+ group: sync-huggingface-main
11
+ cancel-in-progress: true
12
13
+jobs:
14
+ sync-to-huggingface:
15
+ runs-on: ubuntu-latest
16
+ environment: hf-sync
17
+ permissions:
18
+ contents: read
19
20
+ steps:
21
+ - name: Check out repository
22
+ uses: actions/checkout@v6
23
+ with:
24
+ fetch-depth: 0
25
+ lfs: true
26
27
+ - name: Sync to Hugging Face Hub
28
+ uses: huggingface/hub-sync@v0.1.0
29
30
+ github_repo_id: ${{ github.repository }}
31
+ huggingface_repo_id: pgmpy/example_datasets
32
+ hf_token: ${{ secrets.HF_TOKEN }}
33
+ repo_type: dataset
0 commit comments