diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c123f1a072ee7df2f358f37ee910c74d62eaa196..a57b67ccda851fae4ca2b7ac61c7f587bf6ac17e 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,8 @@ pages-master: artifacts: paths: - public + tags: + - production only: - master @@ -34,11 +36,11 @@ pages-devel: - cp -r includes .public - cp *.html .public - mv .public public - - cd public - - /opt/jdk-12/bin/jar -cvf ROOT.war * - - curl --upload-file ROOT.war -u tomcat:$TOMCATPASS "http://193.196.52.30:8085/manager/text/deploy?path=/ROOT&update=true" + - cp -r public/* "$EXPORT_PAGES_DIR" artifacts: paths: - public + tags: + - testing only: - devel