Skip to content

Commit 4886c72

Browse files
committed
ci(e2e-github-action): add repo env variables take3🎬
1 parent 37ce2f2 commit 4886c72

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
branches: [main, develop]
55
pull_request:
66
branches: [main, develop]
7+
env:
8+
NEXT_PUBLIC_FORMSPREE_ID: ${{ secrets.NEXT_PUBLIC_FORMSPREE_ID }}
9+
NEXT_PUBLIC_RECAPTCHA_SITE_KEY: ${{ secrets.NEXT_PUBLIC_RECAPTCHA_SITE_KEY }}
710
jobs:
811
e2e:
912
timeout-minutes: 60
@@ -18,9 +21,6 @@ jobs:
1821
- name: Install Playwright Browsers
1922
run: yarn playwright install --with-deps
2023
- name: Run Playwright tests
21-
env:
22-
NEXT_PUBLIC_FORMSPREE_ID: ${{ secrets.NEXT_PUBLIC_FORMSPREE_ID }}
23-
NEXT_PUBLIC_RECAPTCHA_SITE_KEY: ${{ secrets.NEXT_PUBLIC_RECAPTCHA_SITE_KEY }}
2424
run: yarn test
2525
- uses: actions/upload-artifact@v3
2626
if: always()

0 commit comments

Comments
 (0)