Skip to content

Sync to OpenCoDE #11954

Sync to OpenCoDE

Sync to OpenCoDE #11954

name: Sync to OpenCoDE
on:
workflow_dispatch:
schedule:
- cron: '* 4-20/4 * * *' # von 6 bis 22 Uhr
jobs:
sync:
if: github.repository == 'public-ui/kolibri'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
ref: 'main'
- name: git-sync
run: |
git remote add opencode https://OC000005112572:${{ secrets.GITLAB_PERSONAL_ACCESS_TOKEN }}@gitlab.opencode.de/OC000005112572/kolibri.git
# git pull opencode main
git push opencode -f