Update .gitlab-ci.yml
This commit is contained in:
parent
919ee380d2
commit
614287c31b
|
@ -1,6 +1,21 @@
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
|
||||||
image: node:10-slim
|
image: node:10-slim
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
stage: build
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
- npm build
|
- npm run build
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- echo "Deploy to dodsorf.as"
|
||||||
|
environment:
|
||||||
|
name: wug dodsorf.as
|
||||||
|
only:
|
||||||
|
- master
|
Loading…
Reference in New Issue