Commit eb870cc 1 parent e791e31 commit eb870cc Copy full SHA for eb870cc
File tree 5 files changed +27
-32
lines changed
5 files changed +27
-32
lines changed Original file line number Diff line number Diff line change 9
9
workflow_dispatch :
10
10
11
11
jobs :
12
- jobs :
13
- build :
14
- runs-on : ubuntu-latest
12
+ build :
13
+ runs-on : ubuntu-latest
15
14
16
- steps :
17
- - uses : actions/checkout@v3
15
+ steps :
16
+ - uses : actions/checkout@v3
18
17
19
- - name : Set up NodeJS
20
- uses : actions/setup-node@v2
21
- with :
22
- node-version : " 20"
18
+ - name : Set up NodeJS
19
+ uses : actions/setup-node@v2
20
+ with :
21
+ node-version : " 20"
23
22
24
- - name : Install dependencies
25
- run : npm install --prefix ./docs
23
+ - name : Install dependencies
24
+ run : npm install --prefix ./docs
26
25
27
- - name : Build
28
- run : npm run generate --prefix ./docs
26
+ - name : Build
27
+ run : npm run generate --prefix ./docs
29
28
30
- - name : Fix permissions
31
- run : |
32
- chmod -c -R +rX "./docs/dist/ " | while read line; do
33
- echo "::warning title=Invalid file permissions automatically fixed::$line"
34
- done
29
+ - name : Fix permissions
30
+ run : |
31
+ chmod -c -R +rX "./docs/.output/public " | while read line; do
32
+ echo "::warning title=Invalid file permissions automatically fixed::$line"
33
+ done
35
34
36
- - name : Upload Pages artifact
37
- uses : actions/upload-pages-artifact@v2
38
- with :
39
- path : ./docs/dist
35
+ - name : Upload Pages artifact
36
+ uses : actions/upload-pages-artifact@v2
37
+ with :
38
+ path : ./docs/.output/public
40
39
41
40
deploy :
42
41
needs : build
43
42
44
43
permissions :
45
44
pages : write
46
45
id-token : write
46
+ actions : read
47
47
48
48
environment :
49
49
name : github-pages
53
53
steps :
54
54
- name : Deploy to GitHub Pages
55
55
id : deployment
56
- uses : actions/deploy-pages@v4
56
+ uses : actions/deploy-pages@v2
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
- title : " Advanced "
1
+ title : " Docs "
2
2
icon : heroicons-outline:bookmark-alt
Original file line number Diff line number Diff line change 1
1
export default defineNuxtConfig ( {
2
- // https://github.com/nuxt-themes/docus
3
2
extends : [ '@nuxt-themes/docus' ] ,
4
3
devtools : { enabled : true } ,
5
-
6
- modules : [
7
- // Remove it if you don't use Plausible analytics
8
- // https://github.com/nuxt-modules/plausible
9
- '@nuxtjs/plausible'
10
- ] ,
11
-
12
4
ssr : true ,
5
+ app : {
6
+ baseURL : '/backrest/' ,
7
+ }
13
8
} )
You can’t perform that action at this time.
0 commit comments