File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
build_site :
9
9
runs-on : ubuntu-latest
10
+ permissions :
11
+ contents : read
10
12
steps :
11
13
- name : Checkout
12
- uses : actions/checkout@v3
14
+ uses : actions/checkout@v4
13
15
14
16
# If you're using pnpm, add this step then change the commands and cache key below to use `pnpm`
15
17
# - name: Install pnpm
@@ -18,13 +20,13 @@ jobs:
18
20
# version: 8
19
21
20
22
- name : Install Node.js
21
- uses : actions/setup-node@v3
23
+ uses : actions/setup-node@v4
22
24
with :
23
- node-version : 18
25
+ node-version : 20
24
26
cache : npm
25
27
26
28
- name : Install dependencies
27
- run : npm install
29
+ run : npm ci
28
30
29
31
- name : build
30
32
env :
54
56
steps :
55
57
- name : Deploy
56
58
id : deployment
57
- uses : actions/deploy-pages@v1
59
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -8,12 +8,10 @@ const config = {
8
8
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
9
9
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
10
10
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
11
- adapter : adapter ( )
12
-
13
- // paths: {
14
- // base: process.env.NODE_ENV === 'production' ? '/socketopp.github.io' : '',
15
- // base: dev ? '' : process.env.BASE_PATH
16
- // }
11
+ adapter : adapter ( ) ,
12
+ paths : {
13
+ base : dev ? '' : process . env . BASE_PATH
14
+ }
17
15
} ,
18
16
preprocess : vitePreprocess ( )
19
17
} ;
You can’t perform that action at this time.
0 commit comments