6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-15 09:44:07 +00:00
tutor/.github/workflows/sync.yml

18 lines
442 B
YAML
Raw Normal View History

name: Sync with private repo
on:
push:
branches: [ master ]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Add remote
run: git remote add overhangio https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@git.overhang.io/core/tutor.git
2021-06-14 06:16:40 +00:00
- name: Rebase
run: git pull --rebase overhangio master
- name: Push
run: git push overhangio master