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 afb0489b authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

ci: deploy only on main branch

parent e16920b3
No related branches found
No related tags found
1 merge request!1Resolve "ci: deploy astro"
......@@ -6,7 +6,6 @@ variables:
ASTRO_URL: "https://${CI_PROJECT_ROOT_NAMESPACE}.${CI_PAGES_DOMAIN}"
ASTRO_BASE: "/${SUB_GROUP}/${CI_PROJECT_NAME}"
pages:
stage: deploy
tags:
......@@ -24,3 +23,9 @@ pages:
# The folder that contains the built files to be published.
# This must be called "public".
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
environment:
name: production
url: "${ASTRO_URL}${ASTRO_BASE}"
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