summaryrefslogblamecommitdiff
path: root/.gitlab-ci.yml
blob: 62a8eb085846eb50b8f38258e8489c297ff6e991 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                    


                                                                         






                                                                             
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
    - rm -rf public
    - mkdir -p public
    - 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