diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2552cf9..efdcca8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,18 +26,25 @@ deploy_pre: stage: deploy script: - echo "Despliegue al servidor de PRE" - - cp 1.sources/MyHealth/dist/MyHealth.ear ${JBOSS_HOME}/standalone/deployments/ + - cd 1.sources/MyHealth + - ant deployear environment: name: pre url: https://localhost:8080/MyHealth + only: + - master deploy_pro: stage: deploy script: - echo "Despliegue al servidor de PRO" - - cp 1.sources/MyHealth/dist/MyHealth.ear ${JBOSS_HOME}/standalone/deployments/ + - cd 1.sources/MyHealth + - ant deployear environment: name: pro - url: https://localhost:8080/MyHealth \ No newline at end of file + url: https://localhost:8080/MyHealth + when: manual + only: + - master \ No newline at end of file