Skip to content
Snippets Groups Projects
Commit 56f09314 authored by Suru Dissanaike's avatar Suru Dissanaike
Browse files

Update .gitlab-ci.yml

parent c7e7a1d2
Branches
Tags
1 merge request!1Deploy pages
Pipeline #9518 canceled
...@@ -8,6 +8,7 @@ cache: ...@@ -8,6 +8,7 @@ cache:
stages: stages:
- install - install
- unit-testing - unit-testing
- deploy-pages
install: install:
stage: install stage: install
...@@ -19,3 +20,15 @@ unit_testing: ...@@ -19,3 +20,15 @@ unit_testing:
stage: unit-testing stage: unit-testing
script: script:
- npm run test - npm run test
deploy_pages:
image: alpine:latest
stage: deploy-pages
script:
- mkdir public
- cp -r docs public
artifacts:
paths:
- public
only:
- deploy-pages
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment