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

this is to test the CI CD

parents
Pipeline #109 failed with stage
in 32 seconds
stages:
- build
build website:
stage: build
image: ubuntu
variables:
GIT_STRATEGY: clone
GIT_CHECKOUT: "false"
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$CENTOS_SERVER" | ssh-add - > ~/.ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh -tt centos@13.251.192.208 " cd /var/www/ "
- mkdir red-ci-cd
- cd red-ci-cd
script:
- 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