Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Gitlab will go into maintenance Friday 3rd February from 9:00 to 10:00
Open sidebar
R3
howto-cards
Commits
c5733932
Verified
Commit
c5733932
authored
Jul 24, 2020
by
Laurent Heirendt
✈
Browse files
fix syntax
parent
2f81d8bd
Pipeline
#30395
passed with stages
in 2 minutes and 30 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c5733932
...
...
@@ -138,8 +138,8 @@ deploy:vm:
-
echo "$KNOWNHOSTS" > ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
rules
:
-
if
:
'
!
$CI_
MERGE_REQUEST_ID
&&
$CI_COMMIT_REF_NAME
==
"develop"
&&
$CI_PROJECT_PATH
==
"R3/howto-cards"'
-
if
:
'
!
$CI_
MERGE_REQUEST_ID
&&
$CI_COMMIT_REF_NAME
==
"master"
&&
$CI_PROJECT_PATH
==
"R3/howto-cards"'
-
if
:
'
$CI_
PIPELINE_SOURCE
!=
"merge_request_event"
&&
$CI_COMMIT_REF_NAME
==
"develop"
&&
$CI_PROJECT_PATH
==
"R3/howto-cards"'
-
if
:
'
$CI_
PIPELINE_SOURCE
!=
"merge_request_event"
&&
$CI_COMMIT_REF_NAME
==
"master"
&&
$CI_PROJECT_PATH
==
"R3/howto-cards"'
script
:
-
ssh -p $SSHPORT $SSHCONNECT "mkdir -p ~/$CI_COMMIT_REF_NAME/sources/public/$CI_JOB_ID ~/$CI_COMMIT_REF_NAME/public"
-
scp -P $SSHPORT -r processed_build/* $SSHCONNECT:~/$CI_COMMIT_REF_NAME/sources/public/$CI_JOB_ID
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment