Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Commits
3ebe6af0
Commit
3ebe6af0
authored
5 years ago
by
Tom Käsler
Browse files
Options
Downloads
Patches
Plain Diff
Remove syncjob from CI
parent
37f8129b
1 merge request
!378
Remove syncjob from CI
Pipeline
#30171
passed with stages
in 8 minutes and 39 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+0
-17
0 additions, 17 deletions
.gitlab-ci.yml
with
0 additions
and
17 deletions
.gitlab-ci.yml
+
0
−
17
View file @
3ebe6af0
variables
:
variables
:
BUILD_DIR
:
dist
BUILD_DIR
:
dist
MIRROR_REPO
:
git@github.com:thm-projects/arsnova-lite.git
stages
:
stages
:
-
codestyle
-
codestyle
...
@@ -95,18 +93,3 @@ deploy:
...
@@ -95,18 +93,3 @@ deploy:
-
ssh-keyscan "$SERVER_URL" >> ~/.ssh/known_hosts
-
ssh-keyscan "$SERVER_URL" >> ~/.ssh/known_hosts
-
ssh-add <(echo "$SSH_PRIVATE_KEY")
-
ssh-add <(echo "$SSH_PRIVATE_KEY")
-
scp -r "$BUILD_DIR"* "$SSH_URL"
-
scp -r "$BUILD_DIR"* "$SSH_URL"
sync_mirror
:
stage
:
deploy
tags
:
-
git
when
:
always
allow_failure
:
true
dependencies
:
[]
script
:
-
eval $(ssh-agent -s)
-
mkdir ~/.ssh && echo "$SYNC_SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
-
ssh-add <(echo "$SYNC_SSH_PRIVATE_KEY")
-
git clone --bare "$CI_REPOSITORY_URL" mirror.git
-
cd mirror.git
-
git push --mirror "$MIRROR_REPO"
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