Skip to content

Commit

Permalink
fix: serve built preview
Browse files Browse the repository at this point in the history
  • Loading branch information
davidleger95 committed Apr 2, 2024
1 parent 62e9fee commit 5d1f5de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/vrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: VRT
jobs:
build:
runs-on: ubuntu-latest
name: Lost Pixel
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -19,7 +20,7 @@ jobs:
run: npm run build

- name: Start server (in background)
run: npm run start &
run: npm run preview &

- name: Lost Pixel
uses: lost-pixel/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion lostpixel.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CustomProjectConfig } from 'lost-pixel';
export const config: CustomProjectConfig = {
pageShots: {
pages: [{ path: '/', name: 'home' }],
baseUrl: 'http://172.17.0.1:5173',
baseUrl: 'http://172.17.0.1:4173',
},
lostPixelProjectId: 'cluifcmts01bbkg0e08pepl32',
apiKey: process.env.LOST_PIXEL_API_KEY,
Expand Down

0 comments on commit 5d1f5de

Please sign in to comment.