Commit 4d8d9126 authored by mh's avatar mh
Browse files

fix preview

parent b0b703db
Pipeline #3750 passed with stages
in 5 minutes and 9 seconds
default: default:
image: ${CI_REGISTRY_IMAGE}:latest image: ${CI_REGISTRY_IMAGE}:latest
stages: stages:
- helper - helper
- build - build
- deploy - deploy
variables:
DEPLOY_BASE: dev/review
DEPLOY_SLUG: dev/review/$CI_PROJECT_NAME/$CI_COMMIT_REF_SLUG
helper: helper:
image: registry.code.immerda.ch/immerda/container-images/buildah/centos:8 image: registry.code.immerda.ch/immerda/container-images/buildah/centos:8
stage: helper stage: helper
...@@ -40,7 +46,7 @@ deploy: ...@@ -40,7 +46,7 @@ deploy:
# It's currently not possible to use env vars which are / were set in the script: part above. # It's currently not possible to use env vars which are / were set in the script: part above.
environment: environment:
name: $DEPLOY_BASE/$CI_PROJECT_NAME/$CI_COMMIT_REF_SLUG name: $DEPLOY_BASE/$CI_PROJECT_NAME/$CI_COMMIT_REF_SLUG
url: https://docs.immerda.ch/$DEPLOY_BASE/$CI_PROJECT_NAME/$CI_COMMIT_REF_SLUG url: https://www.immerda.ch/$DEPLOY_BASE/$CI_PROJECT_NAME/$CI_COMMIT_REF_SLUG
only: only:
# This job relies on secret env vars, which are only available in our repo. # This job relies on secret env vars, which are only available in our repo.
- branches@immerda/content/www.immerda.ch - branches@immerda/content/www.immerda.ch
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment