Skip to content
Snippets Groups Projects
Commit 09f1f8fe authored by François Grand's avatar François Grand
Browse files

refactor(ci) : rename deployment stages

deploy renamed to deploy-dev
deploy-stable renamed to deploy-prod

refs #505
parent 4dee5035
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,8 @@ stages:
- test
- build
- clean-stale-branches
- deploy
- deploy-stable
- deploy-dev
- deploy-prod
- releases-nightly
- releases-version
......@@ -93,8 +93,8 @@ clean-stale-branches:
script:
- ./scripts/remove-stale-branches.sh $DEPLOY_HOST_LOGIN $DEPLOY_URL
deploy:
stage: deploy
deploy-dev:
stage: deploy-dev
only:
- pushes
- tags
......@@ -105,8 +105,8 @@ deploy:
# Copie de la branche / du tag
- rsync --delete -a "dist/" "$DEPLOY_HOST_LOGIN:$DEPLOY_URL/$CI_COMMIT_REF_NAME"
deploy-stable:
stage: deploy-stable
deploy-prod:
stage: deploy-prod
only:
variables:
- $CI_COMMIT_REF_NAME == "stable"
......
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