.gitlab-ci.yml 512 Bytes
Newer Older
1
2
3
4
# 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:
5
    EXPORT_PAGES_DIR: "/opt/tomcat9/webapps/ROOT/"
6
7
8
9
  stage: deploy
  script:
  - echo $EXPORT_PAGES_DIR
  - mkdir .public
10
11
12
  - cp -r css .public
  - cp -r images .public
  - cp -r js .public
Wolfgang Knopki's avatar
Wolfgang Knopki committed
13
  - cp -r includes .public
14
  - cp *.html .public
15
  - mv .public public
16
  - cp -r public/* "$EXPORT_PAGES_DIR"
17
18
19
20
21
22
  artifacts:
    paths:
    - public
  only:
  - master