ci: improve compatibility with main & nightly

This commit is contained in:
Régis Behmo 2023-05-26 16:49:26 +02:00
parent f38f473fd4
commit 2da25c576c

View File

@ -2,7 +2,7 @@ name: Sync with private repo
on:
push:
branches: [ master ]
branches: [ master, main, nightly ]
jobs:
sync:
@ -14,4 +14,4 @@ jobs:
- name: Add remote
run: git remote add overhangio https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@git.overhang.io/core/tutor-notes.git
- name: Push
run: git push overhangio master
run: git push overhangio $GITHUB_REF