diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index ec9784b4b..75f19e17c 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -55,7 +55,7 @@ jobs: GOOGLE_SERVICE_ACCOUNT_ID: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_ID }} run: > ./gradlew cloud-run:jib - --image=europe-west1-docker.pkg.dev/${{ steps.setup-cloud.outputs.project_id }}/cloud-run-source-deploy/playground.ashdavies.dev + --image=europe-west1-docker.pkg.dev/${{ steps.setup-cloud.outputs.project_id }}/cloud-run-source-deploy/api.ashdavies.dev --no-configuration-cache --console=plain diff --git a/conferences-app/src/commonMain/kotlin/io/ashdavies/party/events/paging/EventPager.kt b/conferences-app/src/commonMain/kotlin/io/ashdavies/party/events/paging/EventPager.kt index 8083b7704..44deabc60 100644 --- a/conferences-app/src/commonMain/kotlin/io/ashdavies/party/events/paging/EventPager.kt +++ b/conferences-app/src/commonMain/kotlin/io/ashdavies/party/events/paging/EventPager.kt @@ -26,7 +26,7 @@ import okio.ByteString.Companion.encode import io.ashdavies.http.common.models.Event as ApiEvent import io.ashdavies.party.events.Event as DatabaseEvent -private const val PLAYGROUND_BASE_URL = "playground.ashdavies.dev" +private const val PLAYGROUND_BASE_URL = "api.ashdavies.dev" private const val DEFAULT_PAGE_SIZE = 10 private suspend fun RemoteConfig.isPagingEnabled() = getBoolean("paging_enabled") diff --git a/terraform/modules.tf b/terraform/modules.tf index 94fb4e1f0..066937d1f 100644 --- a/terraform/modules.tf +++ b/terraform/modules.tf @@ -20,7 +20,7 @@ module "cloud-run-endpoint" { source = "./modules/google/cloud-run-endpoint" config_id = module.cloud-run-endpoint.config_id container_image = "${var.project_region}-docker.pkg.dev/${var.project_id}/endpoints-release/endpoints-runtime-serverless:latest" - endpoint_name = "playground.ashdavies.dev" + endpoint_name = "api.ashdavies.dev" image_repository = "${var.project_region}-docker.pkg.dev/${var.project_id}/endpoints-release" location = var.project_region openapi_config = local.openapi_config diff --git a/terraform/variables.tf b/terraform/variables.tf index c52a86078..f855573b8 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -19,7 +19,7 @@ variable "openapi_config" { variable "service_name" { description = "Google Cloud Run service name" - default = "playground.ashdavies.dev" + default = "api.ashdavies.dev" } variable "project_id" {