Rechange Deploy & Fix Sitemap Generator

This commit is contained in:
AnotherFrench 2024-08-06 00:48:05 +02:00
parent d9a99c24ac
commit 431c1dc905
2 changed files with 1 additions and 3 deletions

View File

@ -20,8 +20,6 @@ jobs:
cache: npm cache: npm
- name: Install dependencies - name: Install dependencies
run: npm install run: npm install
- name: Create Folder for Pre-Build
run: mkdir -p build
- name: Build - name: Build
run: | run: |
npm run build npm run build

View File

@ -16,7 +16,7 @@
"scripts": { "scripts": {
"dev": "vite dev", "dev": "vite dev",
"dev:expose": "vite dev --host", "dev:expose": "vite dev --host",
"prebuild": "npx svelte-sitemap --domain https://ninjin.eu.org --ignore '**/api/**'", "postbuild": "npx svelte-sitemap --domain https://ninjin.eu.org --ignore '**/api/**'",
"build": "vite build", "build": "vite build",
"preview": "vite preview", "preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",