2021-06-28 02:07:45 -04:00
|
|
|
# To contribute improvements to CI/CD templates, please follow the Development guide at:
|
|
|
|
# https://docs.gitlab.com/ee/development/cicd/templates.html
|
|
|
|
# This specific template is located at:
|
|
|
|
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/Harp.gitlab-ci.yml
|
|
|
|
|
2016-07-06 04:17:31 -04:00
|
|
|
# Full project: https://gitlab.com/pages/harp
|
|
|
|
image: node:4.2.2
|
|
|
|
|
|
|
|
pages:
|
|
|
|
cache:
|
|
|
|
paths:
|
2019-06-05 12:31:35 -04:00
|
|
|
- node_modules
|
2016-07-06 04:17:31 -04:00
|
|
|
script:
|
2019-06-05 12:31:35 -04:00
|
|
|
- npm install -g harp
|
|
|
|
- harp compile ./ public
|
2016-07-06 04:17:31 -04:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-06-05 12:31:35 -04:00
|
|
|
- public
|
2021-03-11 22:08:56 -05:00
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
2022-10-12 05:10:21 -04:00
|
|
|
environment: production
|