mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-05 23:20:40 +00:00
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:
parent
a6af8a4e0f
commit
4dd0fb6d8a
4
.github/workflows/sync.yml
vendored
4
.github/workflows/sync.yml
vendored
@ -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
|
||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -2,9 +2,9 @@ name: Run tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ master, edge ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches: [ master, edge ]
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
|
Loading…
Reference in New Issue
Block a user