1 Commits

Author SHA1 Message Date
Morten Olsen
732e47ceed ci: use pages artifact 2023-09-06 13:41:19 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ jobs:
pnpm install pnpm install
pnpm run build pnpm run build
env: env:
ASSET_URL: https://mortenolsen.pro/bob/ ASSET_URL: https://mortenolsen.pro/bob
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: lib name: lib

View File

@@ -6,6 +6,6 @@ const ASSET_URL = process.env.ASSET_URL || '';
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
base: ASSET_URL, base: `${ASSET_URL}/dist/`,
plugins: [mdx(), react()], plugins: [mdx(), react()],
}); });