From 2da25c576c6cd4cb15eead1aac062fab4f21768e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Fri, 26 May 2023 16:49:26 +0200 Subject: [PATCH] ci: improve compatibility with main & nightly --- .github/workflows/sync.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 7b98666..c8f3b03 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -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