File tree Expand file tree Collapse file tree 3 files changed +22
-11
lines changed Expand file tree Collapse file tree 3 files changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -37,3 +37,7 @@ indent_size = 4
37
37
[* .{js,ts,jsx,tsx} ]
38
38
indent_style = space
39
39
indent_size = 4
40
+
41
+ [* .{yml,yaml} ]
42
+ indent_style = space
43
+ indent_size = 2
Original file line number Diff line number Diff line change 1
1
name : Deploy to GitHub Pages
2
+
2
3
on :
3
4
workflow_dispatch :
4
5
push :
5
6
branches :
6
7
- website
8
+
7
9
jobs :
8
10
build :
9
11
runs-on : ubuntu-latest
@@ -12,31 +14,32 @@ jobs:
12
14
with :
13
15
ref : website
14
16
- run : corepack enable
17
+
15
18
- uses : actions/setup-node@v4
16
19
with :
17
20
node-version : " 20"
18
- # Pick your own package manager and build script
19
21
- run : npm install
20
- - run : npx nuxt build --preset github_pages
22
+ - run : npm run generate
23
+
21
24
- name : Upload artifact
22
25
uses : actions/upload-pages-artifact@v3
23
26
with :
24
- path : ./.output/public
25
- # Deployment job
27
+ path : .output/public
28
+
29
+
26
30
deploy :
27
- # Add a dependency to the build job
28
31
needs : build
29
- # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
32
+
30
33
permissions :
31
- pages : write # to deploy to Pages
32
- id-token : write # to verify the deployment originates from an appropriate source
33
- # Deploy to the github_pages environment
34
+ pages : write
35
+ id-token : write
36
+
34
37
environment :
35
38
name : github_pages
36
39
url : ${{ steps.deployment.outputs.page_url }}
37
- # Specify runner + deployment step
40
+
38
41
runs-on : ubuntu-latest
39
42
steps :
40
43
- name : Deploy to GitHub Pages
41
44
id : deployment
42
- uses : actions/deploy-pages@v4
45
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ export default defineNuxtConfig({
48
48
modules : [
49
49
'@morev/vue-transitions/nuxt' ,
50
50
] ,
51
+ target : 'static' ,
52
+ router : {
53
+ base : '/Gogh/'
54
+ }
51
55
devtools : { enabled : true } ,
52
56
compatibilityDate : '2024-04-03'
53
57
} )
You can’t perform that action at this time.
0 commit comments