Skip to content
Snippets Groups Projects
Commit 40463bbc authored by Florian Sesser's avatar Florian Sesser
Browse files

Make branch names reflect discussion result

parent d3fcd613
Branches
No related tags found
1 merge request!63Add deployment hooks to GitLab CI config
Pipeline #294 passed
...@@ -17,7 +17,7 @@ system-tests: ...@@ -17,7 +17,7 @@ system-tests:
deploy-to-staging: deploy-to-staging:
stage: "deploy" stage: "deploy"
only: only:
- "develop" - "staging"
script: script:
- echo -n "Hello $GITLAB_USER_LOGIN from $CI_JOB_NAME. I was triggered by $CI_PIPELINE_SOURCE " - echo -n "Hello $GITLAB_USER_LOGIN from $CI_JOB_NAME. I was triggered by $CI_PIPELINE_SOURCE "
- echo "and would like to deploy the $CI_COMMIT_BRANCH branch to the staging environment." - echo "and would like to deploy the $CI_COMMIT_BRANCH branch to the staging environment."
...@@ -25,7 +25,7 @@ deploy-to-staging: ...@@ -25,7 +25,7 @@ deploy-to-staging:
deploy-to-production: deploy-to-production:
stage: "deploy" stage: "deploy"
only: only:
- "main" - "production"
script: script:
- echo -n "Hello $GITLAB_USER_LOGIN from $CI_JOB_NAME. I was triggered by $CI_PIPELINE_SOURCE " - echo -n "Hello $GITLAB_USER_LOGIN from $CI_JOB_NAME. I was triggered by $CI_PIPELINE_SOURCE "
- echo "and would like to deploy the $CI_COMMIT_BRANCH branch to the production environment." - echo "and would like to deploy the $CI_COMMIT_BRANCH branch to the production environment."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment