Skip to content

Commit d30ce37

Browse files
committed
Add GHA
1 parent aa17376 commit d30ce37

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Sync to Hugging Face hub
2+
on:
3+
push:
4+
branches: [main]
5+
6+
# to run this workflow manually from the Actions tab
7+
workflow_dispatch:
8+
9+
10+
jobs:
11+
sync-to-hub:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
17+
lfs: true
18+
- name: Push to hub
19+
env:
20+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
21+
run: git push https://plotly:$HF_TOKEN@huggingface.co/spaces/plotly/dash-app-template main

0 commit comments

Comments
 (0)