Commit 9a4ff477 authored by Michael Watzko's avatar Michael Watzko
Browse files

Add .gitlab-ci.yml for github mirroring

parent 01394e74
Pipeline #77 passed with stage
# version 1.1.0
mirror:
script:
- git config --global push.default simple
- git config --global push.followTags true
- git checkout -f ${CI_COMMIT_REF_NAME}
- git pull origin ${CI_COMMIT_REF_NAME}
- git push -q https://${GITHUB_USERNAME}:${GITHUB_TOKEN}@github.com/${GITHUB_REPO}.git --all
- git push -q https://${GITHUB_USERNAME}:${GITHUB_TOKEN}@github.com/${GITHUB_REPO}.git --tags
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment