Commit 9072101d authored by leeokhee's avatar leeokhee

Update .gitlab-ci.yml

parent 0ad49d97
Pipeline #133 canceled with stage
image: node:latest pages:
stages: stage: deploy
- test
- build
- deploy
cache: script:
paths:
- node_modules/
include: - mkdir .public
template: Serverless.gitlab-ci.yml
test: - cp -r * .public
script:
- npm install
- npm test
build: - mv .public public
extends: .serverless:build:image
deploy_staging: artifacts:
stage: deploy
extends: .serverless:deploy:image paths:
- public
deploy_prod:
stage: deploy
extends: .serverless:deploy:image
environment:
name: production
when: manual
only: only:
- master - master
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment