Commit 0ad49d97 authored by leeokhee's avatar leeokhee

Update .gitlab-ci.yml

parent 7161c12e
Pipeline #132 canceled with stages
pages: image: node:latest
stage: deploy stages:
- test
script: - build
- deploy
- mkdir .public cache:
paths:
- node_modules/
- cp -r * .public include:
template: Serverless.gitlab-ci.yml
- mv .public public test:
script:
- npm install
- npm test
artifacts: build:
extends: .serverless:build:image
paths: deploy_staging:
- public stage: deploy
extends: .serverless:deploy:image
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