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

Resolve "ci: deploy astro"

Merged Christophe Chaudier requested to merge 1-ci-deploy-astro into main
2 files
+ 8
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 6
0
# The Docker image that will be used to build your app
# The Docker image that will be used to build your app
image: node:16.13.2-slim
image: node:16.13.2-slim
 
variables:
 
ASTRO_URL: "https://${CI_PROJECT_ROOT_NAMESPACE}.${CI_PAGES_DOMAIN}"
 
ASTRO_BASE: "/${CI_PROJECT_NAMESPACE}"
 
 
pages:
pages:
stage: deploy
stage: deploy
tags:
tags:
@@ -10,6 +15,7 @@ pages:
@@ -10,6 +15,7 @@ pages:
- node_modules/
- node_modules/
script:
script:
# Specify the steps involved to build your app here
# Specify the steps involved to build your app here
 
- echo "Astro full URL is ${ASTRO_URL}${ASTRO_BASE}"
- npm ci
- npm ci
- npm run build
- npm run build
artifacts:
artifacts:
Loading