Spaces:
Sleeping
Sleeping
Commit ·
e425cca
1
Parent(s): 1882b75
add workflow to pull changes from upstream to docker-hf branch
Browse files
.github/workflows/sync_fork.yml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Sync Fork
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
schedule:
|
| 5 |
+
- cron: '0,30 * * * *'
|
| 6 |
+
workflow_dispatch: # on button click
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
jobs:
|
| 10 |
+
build:
|
| 11 |
+
runs-on: ubuntu-latest
|
| 12 |
+
steps:
|
| 13 |
+
- name: GitHub Sync to Upstream Repository
|
| 14 |
+
uses: rovast/sync-upstream-repo@v0.0.1
|
| 15 |
+
with:
|
| 16 |
+
upstream_repo: https://github.com/StanfordHCI/indie-label.git
|
| 17 |
+
upstream_branch: main
|
| 18 |
+
downstream_branch: docker-hf
|
| 19 |
+
token: ${{ secrets.WORKFLOW_TOKEN }}
|