Commit 960e95a5 authored by Bradon Ladd's avatar Bradon Ladd

Removed private key from CMD

parent 414243d9
Pipeline #21150 passed with stage
in 32 seconds
......@@ -44,7 +44,7 @@ deploy_prod:
script:
- |
# establish connection to server machine and copy files
ssh -o StrictHostKeyChecking=no -i $SSH_PRIVATE_KEY gitlab@172.27.4.100 "hostname; whoami; pwd"
ssh -o StrictHostKeyChecking=no gitlab@172.27.4.100 "hostname; whoami; pwd"
rsync -r $CI_PROJECT_DIR/lab-10/ \
gitlab@172.27.4.100:/var/www/public-html/$GITLAB_USER_LOGIN
environment:
......
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