File tree 2 files changed +5
-18
lines changed
2 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,11 @@ jobs:
42
42
- name : Install dependencies
43
43
run : pnpm install --frozen-lockfile
44
44
45
- - name : build
46
- env :
47
- BASE_PATH : ' /${{ github.event.repository.name }}'
48
- run : |
49
- pnpm run build
50
- touch build/.nojekyll
45
+ - name : Setup Pages
46
+ uses : actions/configure-pages@v3
47
+
48
+ - name : Build
49
+ run : pnpm run build
51
50
52
51
- name : Upload Artifacts
53
52
uses : actions/upload-pages-artifact@v1
@@ -59,18 +58,11 @@ jobs:
59
58
needs : build
60
59
runs-on : ubuntu-latest
61
60
62
- permissions :
63
- pages : write
64
- id-token : write
65
-
66
61
environment :
67
62
name : github-pages
68
63
url : ${{ steps.deployment.outputs.page_url }}
69
64
70
65
steps :
71
- - name : Setup Pages
72
- uses : actions/configure-pages@v3
73
-
74
66
- name : Deploy
75
67
id : deployment
76
68
uses : actions/deploy-pages@v1
Original file line number Diff line number Diff line change 1
1
import adapter from '@sveltejs/adapter-static'
2
2
import { vitePreprocess } from '@sveltejs/kit/vite'
3
3
4
- const dev = process . argv . includes ( 'dev' )
5
-
6
4
/** @type {import('@sveltejs/kit').Config } */
7
5
const config = {
8
6
// Consult https://github.com/sveltejs/svelte-preprocess
@@ -11,9 +9,6 @@ const config = {
11
9
12
10
kit : {
13
11
adapter : adapter ( ) ,
14
- paths : {
15
- base : dev ? '' : process . env . BASE_PATH ,
16
- } ,
17
12
} ,
18
13
}
19
14
You can’t perform that action at this time.
0 commit comments