Commit 709c67bd authored by John Red Medrano's avatar John Red Medrano

Update .gitlab-ci.yml

parent 47a58b98
Pipeline #255 failed
stages: stages:
- build - build
- cleanup_build_job
build dev: build dev:
stage: build stage: build
...@@ -31,6 +32,15 @@ build dev: ...@@ -31,6 +32,15 @@ build dev:
script: script:
- echo "Building dev environment DONE" - echo "Building dev environment DONE"
- echo "Closed" - echo "Closed"
cleanup_build_job:
stage: cleanup_build
script:
- echo "Deleting folder"
- ssh -tt centos@13.251.192.208 "sudo rm -rf /var/www/gitlab_variable_red/dev"
- echo "Folder for dev already deleted"
when: on_failure
......
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