Skip to content

Commit eb1182c

Browse files
author
Raphael Bröderbauer
committed
edit github workflow
1 parent da7a22e commit eb1182c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
deploy:
1313
uses: DigitaleWeltLibrary/GitHub-Actions-to-deploy-vite/.github/workflows/deploy.yml@main
1414
with:
15-
node-version: "18"
15+
node-version: "lts/*"
1616
base-path: "/to-do-app/"

vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import react from "@vitejs/plugin-react";
33

44
// https://vite.dev/config/
55
export default defineConfig({
6-
base: "/to-do-app/",
6+
base: process.env.VITE_BASE_PATH || "/",
77
plugins: [react()],
88
});

0 commit comments

Comments
 (0)