aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 31bc86e667ca260dad95470ad31fb10c77911d12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# The Docker image that will be used to build your app
image: node:lts
create-pages:
  pages:
    # The folder that contains the files to be exposed at the Page URL
    publish: public
  rules:
    # This ensures that only pushes to the default branch will trigger
    # a pages deploy
    - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
  # Functions that should be executed before the build script is run
  before_script:
    - mkdir public
  script:
    - cp index.html index.css icon.svg *.js *.mjs public/