From 444fc104198a1b66e335b0b1d825329fc71222d0 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Tue, 12 May 2026 14:27:46 +0200 Subject: [PATCH] chore(deploy): route both test and testing subdomains to testing env --- .gitea/workflows/deploy.yml | 4 ++-- .gitea/workflows/qa.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 0371db30b..d37dc1239 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -65,7 +65,7 @@ jobs: TARGET="testing" IMAGE_TAG="main-${SHORT_SHA}" ENV_FILE=".env.testing" - TRAEFIK_HOST="testing.${DOMAIN}" + TRAEFIK_HOST="test.${DOMAIN}, testing.${DOMAIN}" elif [[ "${{ github.ref_type }}" == "tag" ]]; then if [[ "$REF" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then TARGET="production" @@ -319,7 +319,7 @@ jobs: if [[ "$TARGET" == "production" ]]; then SITE_DIR="/home/deploy/sites/e-tib.com" elif [[ "$TARGET" == "testing" ]]; then - SITE_DIR="/home/deploy/sites/testing.e-tib.com" + SITE_DIR="/home/deploy/sites/test.e-tib.com" elif [[ "$TARGET" == "staging" ]]; then SITE_DIR="/home/deploy/sites/staging.e-tib.com" else diff --git a/.gitea/workflows/qa.yml b/.gitea/workflows/qa.yml index 138ad2432..22e51632a 100644 --- a/.gitea/workflows/qa.yml +++ b/.gitea/workflows/qa.yml @@ -6,7 +6,7 @@ on: workflow_dispatch: env: - TARGET_URL: 'https://testing.e-tib.com' + TARGET_URL: 'https://test.e-tib.com' PROJECT_NAME: 'etib' jobs: