Commit 3560b532 authored by John Red Medrano's avatar John Red Medrano

Update .gitlab-ci.yml

parent f9a6d5ba
Pipeline #129 passed with stage
in 39 seconds
...@@ -11,10 +11,9 @@ build website: ...@@ -11,10 +11,9 @@ build website:
- echo "$CENTOS_SERVER" | ssh-add - > ~/.ssh/id_rsa - echo "$CENTOS_SERVER" | ssh-add - > ~/.ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- apt-get install git-core -y - apt-get install git-core -y
- ssh -tt centos@13.251.192.208 "sudo mkdir /var/www/red-ci-cd"
- ssh -tt centos@13.251.192.208 "cd /var/www/red-ci-cd"
variables: variables:
GIT_STRATEGY: clone GIT_STRATEGY: clone
GIT_CHECKOUT: "false"
script: script:
- ssh -tt centos@13.251.192.208 "sudo mkdir /var/www/red-ci-cd"
- ssh -tt centos@13.251.192.208 "cd /var/www/red-ci-cd"
- git checkout -B master origin/master - git checkout -B master origin/master
\ 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