ci: run github workflows on edge branch

The test and sync workflows are run both on the master and the edge branches.
This commit is contained in:
Régis Behmo 2021-09-16 18:11:47 +02:00 committed by Régis Behmo
parent a6af8a4e0f
commit 4dd0fb6d8a
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ name: Sync with private repo
on:
push:
branches: [ master ]
branches: [ master, edge ]
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.git
- name: Push
run: git push overhangio master
run: git push overhangio $GITHUB_REF

View File

@ -2,9 +2,9 @@ name: Run tests
on:
push:
branches: [ master ]
branches: [ master, edge ]
pull_request:
branches: [ master ]
branches: [ master, edge ]
jobs:
tests: