Skip to content

Commit be0d727

Browse files
committed
test2
1 parent 9a3d723 commit be0d727

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/nextjs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ jobs:
6363
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/bun.lockb') }}-
6464
- name: Install dependencies
6565
run: bun install
66+
- name: test
67+
run: echo "$BASE_PATH this is the base path"
6668
- name: Build with Next.js
67-
env:
68-
BASE_PATH: /brno.python.pizza
69-
run: BASE_PATH=/brno.python.pizza bun run build
69+
run: bun run build
7070
- name: Upload artifact
7171
uses: actions/upload-pages-artifact@v3
7272
with:

src/components/image.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const Image: React.FC<Props> = ({
3232

3333
return (
3434
<img
35-
src={`${src}`}
35+
src={`${process.env.BASE_PATH}${src}`}
3636
alt={alt}
3737
sx={{ width: finalWidth, height: finalHeight, objectFit }}
3838
className={className}

0 commit comments

Comments
 (0)