~repos /website

#astro#js#html#css

git clone https://pyrossh.dev/repos/website.git

木 Personal website of pyrossh. Built with astrojs, shiki, vite.


38054c55 pyrossh

1 year ago
remove base path
Files changed (2) hide show
  1. .github/workflows/deploy.yml +0 -2
  2. svelte.config.js +1 -4
.github/workflows/deploy.yml CHANGED
@@ -20,8 +20,6 @@ jobs:
20
20
  cache: npm
21
21
  - run: npm ci
22
22
  - run: npm run build
23
- env:
24
- BASE_PATH: '/${{ github.event.repository.name }}'
25
23
  - uses: actions/upload-pages-artifact@v3
26
24
  with:
27
25
  path: 'build/'
svelte.config.js CHANGED
@@ -5,10 +5,7 @@ const config = {
5
5
  kit: {
6
6
  adapter: adapter({
7
7
  fallback: '404.html'
8
- }),
8
+ })
9
- paths: {
10
- base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
11
- }
12
9
  }
13
10
  };
14
11