From e6f7e904782aa9bb5a4723ee6573cf6106aafe4c Mon Sep 17 00:00:00 2001 From: BrickheadJohnny Date: Tue, 23 Jul 2024 13:46:44 +0200 Subject: [PATCH] fix(gh action): use `deployment_status.target_url` --- .github/workflows/playwright.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 121c453520..9cb7ea1c89 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -4,7 +4,7 @@ on: jobs: test: if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success' - # && !contains(github.event.deployment_status.deployment_url, 'guild-xyz-storybook') + # && !contains(github.event.deployment_status.target_url, 'guild-xyz-storybook') timeout-minutes: 60 runs-on: ubuntu-latest steps: @@ -13,14 +13,14 @@ jobs: with: node-version: lts/* - name: Debug - run: echo "${{ github.event.deployment_status.deployment_url }}" + run: echo "${{ github.event.deployment_status.target_url }}" - name: Install dependencies run: npm ci - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Run Playwright tests env: - DEPLOYMENT_URL: ${{ github.event.deployment_status.deployment_url }} + DEPLOYMENT_URL: ${{ github.event.deployment_status.target_url }} run: npm run test - uses: actions/upload-artifact@v4 if: ${{ failure() }}