We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a3d723 commit be0d727Copy full SHA for be0d727
2 files changed
.github/workflows/nextjs.yml
@@ -63,10 +63,10 @@ jobs:
63
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/bun.lockb') }}-
64
- name: Install dependencies
65
run: bun install
66
+ - name: test
67
+ run: echo "$BASE_PATH this is the base path"
68
- name: Build with Next.js
- env:
- BASE_PATH: /brno.python.pizza
69
- run: BASE_PATH=/brno.python.pizza bun run build
+ run: bun run build
70
- name: Upload artifact
71
uses: actions/upload-pages-artifact@v3
72
with:
src/components/image.tsx
@@ -32,7 +32,7 @@ export const Image: React.FC<Props> = ({
32
33
return (
34
<img
35
- src={`${src}`}
+ src={`${process.env.BASE_PATH}${src}`}
36
alt={alt}
37
sx={{ width: finalWidth, height: finalHeight, objectFit }}
38
className={className}
0 commit comments