ci: sync from github to gitlab

This commit is contained in:
Régis Behmo 2023-05-16 18:05:51 +02:00
parent a6676f209a
commit b445d08fd4

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

@ -0,0 +1,17 @@
name: Sync with private repo
on:
push:
branches: [ master, nightly ]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Add remote
run: git remote add overhangio https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_PASSWORD }}@git.overhang.io/core/tutor-cairn.git
- name: Push
run: git push overhangio $GITHUB_REF