Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

Commit

Permalink
fix: urls for deploy environments (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Basty authored Mar 29, 2023
1 parent 23636fc commit 11841b3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
version: ${{ needs.get-version.outputs.version }}
environment: 'staging'
environment_url: https://staging.gilgamesh.walletconnect.com/health
environment_url: https://staging.history.walletconnect.com/health

validate-staging:
needs:
Expand All @@ -68,7 +68,7 @@ jobs:
with:
version: ${{ needs.get-version.outputs.version }}
environment: 'prod'
environment_url: https://gilgamesh.walletconnect.com/health
environment_url: https://history.walletconnect.com/health

validate-prod:
needs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
pull-requests: 'write'
environment:
name: infra/staging
url: https://staging.gilgamesh.walletconnect.com/health
url: https://staging.history.walletconnect.com/health

steps:
- name: Checkout
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
pull-requests: 'write'
environment:
name: infra/prod
url: https://gilgamesh.walletconnect.com/health
url: https://history.walletconnect.com/health

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
description: 'the URL of the environment'
required: true
type: string
default: https://gilgamesh.walletconnect.com/health
default: https://history.walletconnect.com/health
workflow_call:
inputs:
environment:
Expand All @@ -28,7 +28,7 @@ on:
description: 'the URL of the environment'
required: true
type: string
default: https://gilgamesh.walletconnect.com/health
default: https://history.walletconnect.com/health
version:
description: 'the release version'
required: true
Expand Down
13 changes: 13 additions & 0 deletions terraform/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
output "fqdn" {
description: "The FQDN of the deployed instance"
value = local.fqdn
}

output version {
description: "The version of the deployed instance"
value = local.version
}

output "" {
value = ""
}

0 comments on commit 11841b3

Please sign in to comment.