2024-11-27 18:33:32 +01:00

18 lines
431 B
YAML

name: Sync with private repo
on:
push:
branches: [ release, main ]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
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 $GITHUB_REF