diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 39f2c1b..2ca436e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,3 +24,27 @@ update-to-development: - branches tags: - runner-development + +update-to-development: + stage: update + script: + - sudo chmod +x /var/www/html/devacadtest/devacadtest.sh && sudo bash /var/www/html/devacadtest/devacadtest.sh + only: + - /-DEV-ACAD$/ + - nolsatu_test + except: + - branches + tags: + - runner-development + +update-to-production: + stage: update + script: + - sudo chmod +x /var/www/html/nolsatu_test/webnolsatutest.sh && sudo bash /var/www/html/nolsatu_test/webnolsatutest.sh + only: + - /-DEV-WEBTEST$/ + - nolsatu_test + except: + - branches + tags: + - runner-production \ No newline at end of file