ci: both way repo sync

This commit is contained in:
Régis Behmo 2021-09-02 14:27:26 +02:00
parent 283890555b
commit 7dce20044c
2 changed files with 18 additions and 0 deletions

17
.github/workflows/sync.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Sync with private repo
on:
push:
branches: [ master ]
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-notes.git
- name: Push
run: git push overhangio master

View File

@ -3,6 +3,7 @@ variables:
TUTOR_IMAGES: notes
TUTOR_PYPI_PACKAGE: tutor-notes
OPENEDX_RELEASE: lilac
GITHUB_REPO: overhangio/tutor-notes
include:
- project: 'community/tutor-ci'