diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..b80ea04ba54053f94850da177cd54bb3db9d5016 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +# This file is a template, and might need editing before it works on your project. +# Full project: https://gitlab.com/pages/plain-html +pages: + variables: + EXPORT_PAGES_DIR: "/opt/tomcat9/webapps/ROOT/ + stage: deploy + script: + - echo $EXPORT_PAGES_DIR + - mkdir .public + - cp -r index.html .public + - mv .public public + - cp -r public/. "$EXPORT_PAGES_DIR" + artifacts: + paths: + - public + only: + - master +