Skip to content

Commit f798941

Browse files
committed
ci: fix deployment url used for playwright tests
1 parent e8937f3 commit f798941

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/playwright.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
timeout-minutes: 60
1212
runs-on: ubuntu-latest
1313
env:
14+
PLAYWRIGHT_BASE_URL: ${{ inputs.deployment-url }}
1415
TEST_SUPABASE_URL: ${{ secrets.TEST_SUPABASE_URL }}
1516
TEST_SUPABASE_KEY: ${{ secrets.TEST_SUPABASE_KEY }}
1617
TEST_ADMIN_1_PW: ${{ secrets.TEST_ADMIN_1_PW }}
@@ -22,10 +23,6 @@ jobs:
2223
- uses: actions/setup-node@v4
2324
with:
2425
node-version: lts/*
25-
- name: Set Env
26-
run: |
27-
SHA_SHORT=$(git rev-parse --short ${{ github.sha }})
28-
echo "PLAYWRIGHT_BASE_URL=https://${SHA_SHORT}-fildb-preview.joepao.workers.dev" >> $GITHUB_ENV
2926
- name: Install dependencies
3027
run: npm install -g pnpm && pnpm install
3128
- name: Install Playwright Browsers

0 commit comments

Comments
 (0)