Skip to content
Snippets Groups Projects
Commit 7d6d8fb2 authored by David Hrbáč's avatar David Hrbáč
Browse files

test ssh the stage

parent 290a5f7c
No related branches found
Tags
4 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section
Pipeline #
......@@ -46,9 +46,9 @@ deploy to stage:
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
script:
- ls site/
- gem install dpl
- echo $CI_BUILD_REF_NAME
- ssh root@"$SSH_HOST_STAGE" uptime
- scp -pr site/* root@"$SSH_HOST_STAGE":/tmp/docs/$CI_BUILD_REF_NAME/
#- dpl --provider=s3 --bucket=$S3_BUCKET_NAME
deploy to production:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment