Skip to content

Commit 3b5d976

Browse files
committed
fix: Added required outputs for integration tests
1 parent 270e568 commit 3b5d976

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/cd-base.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ jobs:
7676
needs: pull-tag-push
7777
runs-on: ubuntu-latest
7878
environment: ${{ inputs.deployment_env }}
79+
outputs:
80+
db_host: ${{ steps.db.outputs.public_ip }}
81+
api_url: ${{ steps.db.outputs.api_url }}
7982
steps:
8083
- uses: actions/checkout@v4
8184

@@ -162,9 +165,9 @@ jobs:
162165
run: echo ""
163166

164167
run-integration-tests:
165-
needs: deploy
166-
uses: ./.github/workflows/integration-tests.yml
167-
with:
168-
deployment_env: ${{ inputs.deployment_env }}
169-
db_host: ${{ steps.db.outputs.public_ip }}
170-
api_url: ${{ steps.db.outputs.api_url }}
168+
needs: deploy
169+
uses: ./.github/workflows/integration-tests.yml
170+
with:
171+
deployment_env: ${{ inputs.deployment_env }}
172+
db_host: ${{ needs.deploy.outputs.db_host }}
173+
api_url: ${{ needs.deploy.outputs.api_url }}

0 commit comments

Comments
 (0)