From 1102562092b35befa8558d851e0124c82782e527 Mon Sep 17 00:00:00 2001 From: Ricardo Pinto Date: Thu, 24 Apr 2025 13:41:07 +0100 Subject: [PATCH] Fixed DNS domain of staging cicd ref https://linear.app/ghost/issue/AP-1089 - Updated CI/CD to the correct staging DNS domain. --- .github/workflows/cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c8256c84f..376c663d3 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -255,7 +255,7 @@ jobs: export DEFAULT_SERVICE="https://www.googleapis.com/compute/v1/projects/ghost-activitypub/global/backendServices/stg-netherlands-activitypub-api" export PR_SERVICE="https://www.googleapis.com/compute/v1/projects/ghost-activitypub/global/backendServices/stg-pr-${{ github.event.pull_request.number }}-api" # Add host rules and path matchers if they don't exist - yq '.hostRules = (.hostRules // [{"hosts": ["activitypub.infra.ghost.is"], "pathMatcher": "staging-environments"}])' config.yml > config.yml.tmp + yq '.hostRules = (.hostRules // [{"hosts": ["activitypub.ghostinfra.net"], "pathMatcher": "staging-environments"}])' config.yml > config.yml.tmp mv config.yml.tmp config.yml yq '.pathMatchers = (.pathMatchers // [{"name": "staging-environments", "defaultService": "'"$DEFAULT_SERVICE"'", "routeRules": []}])' config.yml > config.yml.tmp mv config.yml.tmp config.yml