Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Watzko
ShowCaseStandalone
Commits
e85720e0
Commit
e85720e0
authored
Mar 18, 2018
by
kellerkindt
Browse files
Add gitlab mirror script
parent
5ede8ccc
Pipeline
#36
passed with stage
in 3 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
e85720e0
# 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment