mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-18 11:05:17 +00:00
4dd0fb6d8a
The test and sync workflows are run both on the master and the edge branches.
18 lines
422 B
YAML
18 lines
422 B
YAML
name: Sync with private repo
|
|
|
|
on:
|
|
push:
|
|
branches: [ master, edge ]
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- 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 $GITHUB_REF
|