Skip to content

Commit 53a8ab0

Browse files
fix: Update e2e-test to use CONTAINER_WEB_APPURL instead of WEBAPP_URL
1 parent 6486deb commit 53a8ab0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/deploy-v2.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ jobs:
648648
fi
649649
650650
e2e-test:
651-
if: always() && ((needs.deploy.result == 'success' && needs.deploy.outputs.WEBAPP_URL != '') || (github.event.inputs.existing_webapp_url != '' && github.event.inputs.existing_webapp_url != null)) && (github.event_name != 'workflow_dispatch' || github.event.inputs.run_e2e_tests == 'true' || github.event.inputs.run_e2e_tests == null)
651+
if: always() && ((needs.deploy.result == 'success' && needs.deploy.outputs.CONTAINER_WEB_APPURL != '') || (github.event.inputs.existing_webapp_url != '' && github.event.inputs.existing_webapp_url != null)) && (github.event_name != 'workflow_dispatch' || github.event.inputs.run_e2e_tests == 'true' || github.event.inputs.run_e2e_tests == null)
652652
needs: [docker-build, deploy]
653653
uses: ./.github/workflows/test-automation-v2.yml
654654
with:
@@ -829,7 +829,7 @@ jobs:
829829
if: needs.deploy.result == 'success' && (needs.e2e-test.result == 'skipped' || needs.e2e-test.outputs.TEST_SUCCESS == 'true')
830830
run: |
831831
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
832-
WEBAPP_URL="${{ needs.deploy.outputs.WEBAPP_URL || github.event.inputs.existing_webapp_url }}"
832+
WEBAPP_URL="${{ needs.deploy.outputs.CONTAINER_WEB_APPURL || github.event.inputs.existing_webapp_url }}"
833833
RESOURCE_GROUP="${{ needs.deploy.outputs.RESOURCE_GROUP_NAME }}"
834834
TEST_REPORT_URL="${{ needs.e2e-test.outputs.TEST_REPORT_URL }}"
835835
@@ -861,7 +861,7 @@ jobs:
861861
run: |
862862
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
863863
TEST_REPORT_URL="${{ needs.e2e-test.outputs.TEST_REPORT_URL }}"
864-
WEBAPP_URL="${{ needs.deploy.outputs.WEBAPP_URL || github.event.inputs.existing_webapp_url }}"
864+
WEBAPP_URL="${{ needs.deploy.outputs.CONTAINER_WEB_APPURL || github.event.inputs.existing_webapp_url }}"
865865
RESOURCE_GROUP="${{ needs.deploy.outputs.RESOURCE_GROUP_NAME }}"
866866
867867
EMAIL_BODY=$(cat <<EOF

0 commit comments

Comments
 (0)