Skip to content
Snippets Groups Projects
Commit 26e742d4 authored by Simon Kirsten's avatar Simon Kirsten
Browse files

Only deploy if on version tag and DEPLOY_PAGES set

parent fa12aaea
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,4 @@ pages: ...@@ -18,6 +18,4 @@ pages:
# and only if DEPLOY_PAGES is set (which is set in the separate private pages repo) # and only if DEPLOY_PAGES is set (which is set in the separate private pages repo)
only: only:
variables: variables:
- $CI_COMMIT_TAG =~ /^v.*$/ - $CI_COMMIT_TAG =~ /^v.*$/ && $DEPLOY_PAGES
- $DEPLOY_PAGES
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment