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

Update .gitlab-ci.yml

parent bbaf5a32
Pipeline #127 failed
...@@ -3,6 +3,8 @@ stages: ...@@ -3,6 +3,8 @@ stages:
build website: build website:
stage: deploy stage: deploy
image: ubuntu image: ubuntu
only:
- RMS.v2.2
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 )'
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
...@@ -13,8 +15,6 @@ build website: ...@@ -13,8 +15,6 @@ build website:
- apt-get install git-core -y - apt-get install git-core -y
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 "sudo mkdir /var/www/red-ci-cd"
- 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"
\ No newline at end of file
- 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