Skip to content

Commit

Permalink
Workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
neongreen committed Aug 6, 2023
1 parent 40645a9 commit 6159724
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
with:
node-version: '16.x' # Same as in package.json
- name: Use .env.development
run: ln -s .env.development .env
# NB: copying instead of symlinking due to https://github.com/vercel/next.js/issues/53086
run: cp .env.development .env
- name: Install dependencies
run: npm ci
- name: Build the app
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:

- name: Use .env.development
run: |
ln -s .env.development .env
# NB: copying instead of symlinking due to https://github.com/vercel/next.js/issues/53086
cp .env.development .env
# Kill .env.production because the server likes grabbing it when using 'npm next build'
rm .env.production
Expand Down

0 comments on commit 6159724

Please sign in to comment.