From aad171fdd97fcdb9397b6bae6a36d574128d08b0 Mon Sep 17 00:00:00 2001 From: Simon Rose Date: Thu, 22 Aug 2024 11:23:04 +0100 Subject: [PATCH] fix: run e2e tests on merge into production and update deployment url to match new repo --- .github/workflows/playwright.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 5faeac861..c310f777f 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -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