Skip to content

Commit

Permalink
fix: run e2e tests on merge into production and update deployment url…
Browse files Browse the repository at this point in the history
… to match new repo
  • Loading branch information
simonrose121 committed Aug 22, 2024
1 parent 93b8df1 commit aad171f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Playwright
on:
deployment_status:
push:
branches:
- production
jobs:
test-e2e:
timeout-minutes: 20
runs-on: ubuntu-latest
if: github.event.deployment_status.state == 'success' && contains(github.event.deployment_status.target_url, 'ai-beta-nextjs')
if: github.event.deployment_status.state == 'success' && contains(github.event.deployment_status.target_url, 'oak-ai-lesson-assistant')
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
Expand Down

0 comments on commit aad171f

Please sign in to comment.