.codechina-ci.yml 243 字节
Newer Older
ylwdev's avatar
ylwdev 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
default:
  image: node:latest
stages:
  - deploy

pages:
  stage: deploy
  script:
    - npm install
    - npm run build
    - rm -rf public
    - mv dist public
  artifacts:
    paths:
      - public
    expire_in: 1 day
  only:
    - master