ci: both way repo sync
This commit is contained in:
parent
fa612e6cb3
commit
d489f70f18
17
.github/workflows/sync.yml
vendored
Normal file
17
.github/workflows/sync.yml
vendored
Normal 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-android.git
|
||||
- name: Push
|
||||
run: git push overhangio master
|
||||
@ -3,6 +3,7 @@ variables:
|
||||
TUTOR_IMAGES: android
|
||||
TUTOR_PYPI_PACKAGE: tutor-android
|
||||
OPENEDX_RELEASE: lilac
|
||||
GITHUB_REPO: overhangio/tutor-android
|
||||
|
||||
include:
|
||||
- project: 'community/tutor-ci'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user