Commit 8e2ffcc7 authored by Professor Chaos's avatar Professor Chaos

Update .gitlab-ci.yml

parent 42f90668
image: node:latest
variables:
eid: "jnmekaomnicdcpgdndekkmojfomifjal"
stages:
- install
- test
- build_docs
- build_app
- deploy
- pages
- publish
cache:
paths:
......@@ -19,7 +22,7 @@ install_dependencies:
paths:
- node_modules/
test_with_lab:
run_tests:
stage: test
script: npm test
......@@ -31,18 +34,8 @@ build_docs:
paths:
- public/*
build_app:
stage: build_app
script:
- npm run build
artifacts:
paths:
- dist/
only:
- tags
pages:
stage: deploy
publish_docs:
stage: pages
script:
- echo 'deploying docs...'
artifacts:
......@@ -50,4 +43,11 @@ pages:
- public
only:
- master
\ No newline at end of file
publish_cws:
stage: publish
script:
- npm run build
- npx cws-upload $cid $sec $tkn $zip $eid;
only:
- master
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