Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 669b3803 authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

ci: add Page publishing

parent 28930c93
No related branches found
No related tags found
No related merge requests found
stages:
- 📝 publish
- 🧽 clean
variables:
SUB_GROUP: "compagnons-devops"
BASE_URL: "/${SUB_GROUP}/${CI_PROJECT_NAME}/"
pages:
image: node:lts-bullseye-slim
stage: 📝 publish
script:
- npm install
- npm run build
- mv dist public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
environment:
name: production
url: "https://${CI_PROJECT_ROOT_NAMESPACE}.${CI_PAGES_DOMAIN}/${SUB_GROUP}/${CI_PROJECT_NAME}/"
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