Skip to content
Snippets Groups Projects
Commit 517bd14c authored by winniehell's avatar winniehell
Browse files

add GitLab Pages integration

parent 34c5a9a5
No related branches found
No related tags found
1 merge request!1Use GitLab Pages
image: "node:latest"
stages:
- build
- pages
build:
stage: build
script:
- npm install --only=dev
- npm install --global grunt-cli
- grunt
- mkdir public
- mv {content,css,js,lib,plugin}/ index.html pdf.css public/
artifacts:
name: public
expire_in: 31d
paths:
- public/
pages:
stage: pages
dependencies:
- build
script: []
artifacts:
paths:
- public/
# commented out for testing, enable before merging
# only:
# - master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment