Skip to content

Commit 25c7c29

Browse files
committed
Merge branch 'main' into partner-discount-dx
2 parents a8923f6 + 697499d commit 25c7c29

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/workflows/deploy-script.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ jobs:
2828
workingDirectory: packages/script
2929
packageManager: pnpm
3030

31-
- name: Save and Upload Deployment URL
32-
run: |
33-
echo "${{ steps.cloudflare-deploy.outputs.deployment-url }}" > deployment_url.txt
34-
npx --yes @actions/artifact upload --name deployment-url --path deployment_url.txt
31+
- name: Save Deployment URL to file
32+
run: echo "${{ steps.cloudflare-deploy.outputs.deployment-url }}" > deployment_url.txt
33+
34+
- uses: actions/upload-artifact@v4
35+
with:
36+
name: deployment-url
37+
path: deployment_url.txt
38+
retention-days: 1

.github/workflows/playwright.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,14 @@ jobs:
3737
working-directory: apps/nextjs
3838
run: pnpm exec playwright install chromium --with-deps
3939

40-
- name: Set Deployment URL
40+
- name: Download deployment URL
41+
uses: actions/download-artifact@v4
42+
with:
43+
name: deployment-url
44+
path: .
45+
46+
- name: Read and export deployment URL
4147
run: |
42-
npx --yes @actions/artifact download --name deployment-url --path .
4348
echo "DUB_ANALYTICS_SCRIPT_URL=$(cat deployment_url.txt)/analytics/script.site-visit.outbound-domains.js" >> $GITHUB_ENV
4449
4550
- name: Run Playwright tests

0 commit comments

Comments
 (0)