summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 5ed9e7caa6f846a96e899a74d30e0df76bbb10a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
before_script:
  - uname -a
image: node:15-buster

pages: # the job must be named pages
  image: node:15-buster
  stage: deploy
  tags:
  - linux
  script:
    - npm install yarn
    - yarn deploy
    - mv dist public # rename the dist folder (result of npm run build)
    - find public/
  artifacts:
    paths:
      - public # artifact path must be /public for GitLab Pages to pick it up
  only:
    - master