We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acd6e81 + 7b78dde commit dab16edCopy full SHA for dab16ed
.github/workflows/nextjs.yml
@@ -33,6 +33,8 @@ jobs:
33
npm ci
34
npm run build
35
working-directory: movies-app
36
+ env:
37
+ BASEPATH: /playwright-movies-app
38
- name: Upload artifact
39
uses: actions/upload-pages-artifact@v1
40
with:
movies-app/next.config.ts
@@ -1,7 +1,7 @@
1
import { NextConfig } from 'next'
2
3
const config: NextConfig = {
4
- basePath: '/playwright-movies-app',
+ basePath: process.env.BASEPATH,
5
webpack: (config) => {
6
config.module.rules.push({
7
test: /\.svg$/,
0 commit comments