ci: improve compatibility with main & nightly
This commit is contained in:
parent
ee1ade376a
commit
6cf8776b29
4
.github/workflows/sync.yml
vendored
4
.github/workflows/sync.yml
vendored
@ -2,7 +2,7 @@ name: Sync with private repo
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master, main, nightly ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
@ -14,4 +14,4 @@ jobs:
|
|||||||
- name: Add remote
|
- name: Add remote
|
||||||
run: git remote add overhangio https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@git.overhang.io/core/tutor-xqueue.git
|
run: git remote add overhangio https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@git.overhang.io/core/tutor-xqueue.git
|
||||||
- name: Push
|
- name: Push
|
||||||
run: git push overhangio master
|
run: git push overhangio $GITHUB_REF
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user