Commit c8e42d1c authored by John Red Medrano's avatar John Red Medrano

Update .gitlab-ci.yml

parent e387919a
Pipeline #125 failed
stages: stages:
- build - build
build website: build website:
stage: build stage: deploy
image: ubuntu image: ubuntu
before_script: before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
...@@ -15,6 +15,5 @@ build website: ...@@ -15,6 +15,5 @@ build website:
GIT_STRATEGY: clone GIT_STRATEGY: clone
script: script:
- ssh -tt centos@13.251.192.208 "sudo mkdir /var/www/red-ci-cd" - ssh -tt centos@13.251.192.208 "sudo mkdir /var/www/red-ci-cd"
- ssh -tt centos@13.251.192.208 echo "$testfile" > tes.txt
- ssh -tt centos@13.251.192.208 "cd /var/www/red-ci-cd" - ssh -tt centos@13.251.192.208 "cd /var/www/red-ci-cd"
- git checkout -B RMS.v2.2 - git checkout -B RMS.v2.2
\ 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