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
uib-ub
Spesialsamlingene
admin components
Commits
19b24b8a
Commit
19b24b8a
authored
Feb 05, 2021
by
ØyvindG
Browse files
strict hostkeychecking no on ssh
parent
fee26e63
Pipeline
#53392
passed with stages
in 1 minute and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
19b24b8a
...
...
@@ -39,7 +39,7 @@ deploy_prod:
-
eval $(ssh-agent -s)
-
echo $MARCUS_PROD_KEY | base64 --decode | ssh-add -
script
:
-
ssh -6 $MARCUS_USER@"$MARCUS_SERVER_IPV6" echo 'hello'
-
ssh
-o StrictHostKeyChecking=no
-6 $MARCUS_USER@"$MARCUS_SERVER_IPV6" echo 'hello'
-
rsync -v -r -e "ssh -o StrictHostKeyChecking=no" --exclude 'static/js/blackbox-search' --delete ./ $MARCUS_USER@"[$MARCUS_SERVER_IPV6]":"$DEST"
-
ssh $MARCUS_USER@"$MARCUS_SERVER_IPV6" "sudo /usr/bin/find /var/www/html/marcus-prod/cache -regex .+ -type f -delete"
tags
:
...
...
Write
Preview
Markdown
is supported
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