mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-08 08:08:20 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master, edge ]
|
||||||
|
|
||||||
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.git
|
run: git remote add overhangio https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@git.overhang.io/core/tutor.git
|
||||||
- name: Push
|
- 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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master, edge ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master, edge ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
|
Loading…
Reference in New Issue
Block a user