Commit 1b1ae163 authored by Andreas Böttger's avatar Andreas Böttger 😬

Update .gitlab-ci.yml

parent db1ca1b6
Pipeline #12423 failed with stage
......@@ -45,16 +45,16 @@ review:stop:
- master
#deploy:
# stage: deploy
# only:
# - master
# tags:
# - production
# script:
# - pwd
# - sshpass -p "$SSH_PASSWD" ssh -p "$SSH_PORT" $SSH_USER@$HOST_NAME "mkdir -p /usr/share/nginx/html/production"
# - sshpass -p "$SSH_PASSWD" scp -P "$SSH_PORT" -r _site/* $SSH_USER@$HOST_NAME:/usr/share/nginx/html/production
# environment:
# name: production
# url: https://$PROXY_HOST_NAME/$CI_PROJECT_PATH/
\ No newline at end of file
deploy:
stage: deploy
only:
- master
tags:
- production
script:
- pwd
- sshpass -p "$SSH_PASSWD" ssh -p "$SSH_PORT" $SSH_USER@$HOST_NAME "mkdir -p /usr/share/nginx/html/production"
- sshpass -p "$SSH_PASSWD" scp -P "$SSH_PORT" -r _site/* $SSH_USER@$HOST_NAME:/usr/share/nginx/html/production
environment:
name: production
url: https://$PROXY_HOST_NAME/$CI_PROJECT_PATH/
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment