From 856ef3d8369d8360b1f30e4efb9b36eb44bf5db9 Mon Sep 17 00:00:00 2001 From: Niraj Date: Thu, 22 May 2025 09:31:05 +0545 Subject: [PATCH 1/2] fix: add missing deployment url on integration test --- .github/workflows/test_integration_playwright.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_integration_playwright.yml b/.github/workflows/test_integration_playwright.yml index f2eaffda3..f48fc0099 100644 --- a/.github/workflows/test_integration_playwright.yml +++ b/.github/workflows/test_integration_playwright.yml @@ -231,6 +231,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} env: HOST_URL: https://${{ github.event.schedule && 'preview.gov.tools' || (inputs.deployment || 'govtool.cardanoapi.io') }} + DEPLOYMENT: ${{ github.event.schedule && 'preview.gov.tools' || inputs.deployment || 'govtool.cardanoapi.io'}} REPORT_NAME: ${{ github.event.schedule && 'nightly-'}}govtool-frontend GH_PAGES: ${{vars.GH_PAGES}} COMMIT_SHA: ${{ github.event.workflow_run.head_sha || github.sha }} From 3786d15a96d98064a57a9a5fae758dd566aefed4 Mon Sep 17 00:00:00 2001 From: Niraj Date: Thu, 22 May 2025 09:31:26 +0545 Subject: [PATCH 2/2] fix: deployment for schedule workflow --- .github/workflows/test_backend.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_backend.yml b/.github/workflows/test_backend.yml index 4acbf9ced..6ea254e21 100644 --- a/.github/workflows/test_backend.yml +++ b/.github/workflows/test_backend.yml @@ -191,7 +191,7 @@ jobs: env: BASE_URL: https://${{github.event.schedule && 'be.preview.gov.tools' || inputs.deployment || 'govtool.cardanoapi.io/api' }} - DEPLOYMENT: ${{ inputs.deployment || 'govtool.cardanoapi.io/api'}} + DEPLOYMENT: ${{ github.event.schedule && 'be.preview.gov.tools' || inputs.deployment || 'govtool.cardanoapi.io/api'}} REPORT_NAME: ${{ github.event.schedule && 'nightly-'}}govtool-backend GH_PAGES: ${{vars.GH_PAGES}} COMMIT_SHA: ${{ github.event.workflow_run.head_sha || github.sha }}