.gitlab-ci.yml 423 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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