Skip to content
Snippets Groups Projects
Commit 4c40dcd1 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

only deploy to prod on tag

parent 3a062d1d
No related branches found
No related tags found
1 merge request!758Production Deploy on Tag
......@@ -58,10 +58,7 @@ default:
.production-env: &production-env
if: >
$CI_PROJECT_PATH == $UPSTREAM_PATH
&& (
$CI_COMMIT_BRANCH == 'production'
|| ( $CI_COMMIT_TAG && $CI_COMMIT_TAG != '' )
)
&& ( $CI_COMMIT_TAG && $CI_COMMIT_TAG != '' )
variables:
ENVIRONMENT: production
......
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