7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-10 09:42:23 +00:00
tutor/.github/workflows/sync.yml

18 lines
431 B
YAML
Raw Permalink Normal View History

name: Sync with private repo
on:
push:
branches: [ master, main, nightly ]
jobs:
sync:
runs-on: ubuntu-latest
steps:
2022-11-29 14:50:22 +00:00
- uses: actions/checkout@v3
2021-07-05 08:20:06 +00:00
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