Skip to content

Commit

Permalink
fix(gh action): use deployment_status.target_url
Browse files Browse the repository at this point in the history
  • Loading branch information
BrickheadJohnny committed Jul 23, 2024
1 parent d72ff87 commit e6f7e90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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() }}
Expand Down

0 comments on commit e6f7e90

Please sign in to comment.