Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mirrortest
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Pawletta
mirrortest
Commits
4c53a6e1
Commit
4c53a6e1
authored
4 years ago
by
Paul Pawletta
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.sh
parent
e9b7a094
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#767
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.sh
+5
-4
5 additions, 4 deletions
.gitlab-ci.sh
with
5 additions
and
4 deletions
.gitlab-ci.sh
+
5
−
4
View file @
4c53a6e1
...
...
@@ -3,12 +3,13 @@
PROJECT_ACCESS_TOKEN
=
NdNmKqje9H6NMMeAVQqn
REPO_NAME
=
mirrortest.git
ORIGIN_URL
=
https://token:
${
PROJECT_ACCESS_TOKEN
}
@gitlab.ebrains.eu/paulpawletta/
$REPO_NAME
GITHUB_
REPO_
URL
=
https://github.com/PaulPawletta/
$REPO_NAME
GITHUB_URL
=
https://github.com/PaulPawletta/
$REPO_NAME
rm
-rf
mirrortest
git clone
$ORIGIN_URL
cd
mirrortest
git remote add github_repo
$ORIGIN_URL
git fetch origin
--tags
;
git fetch github_repo
--tags
git push origin
;
git push origin
--tags
git remote add github
$GITHUB_URL
git fetch
--all
git push origin
'refs/remotes/github/*:refs/heads/*'
git push origin
'refs/tags/*:refs/tags/*'
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment