File tree 2 files changed +36
-0
lines changed
2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Docs
2
+
3
+ on :
4
+ workflow_dispatch : {}
5
+ push :
6
+ branches :
7
+ - main
8
+
9
+ jobs :
10
+ docs :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v3
14
+ with :
15
+ fetch-depth : 0
16
+
17
+ - uses : actions/setup-node@v3
18
+ with :
19
+ node-version : 16
20
+ cache : yarn
21
+
22
+ - name : Install dependencies
23
+ run : yarn install --frozen-lockfile
24
+
25
+ - name : Build docs
26
+ run : npm run docs:build
27
+
28
+ # https://github.com/crazy-max/ghaction-github-pages
29
+ - name : Deploy to GitHub Pages
30
+ uses : crazy-max/ghaction-github-pages@v3
31
+ with :
32
+ target_branch : gh-pages
33
+ build_dir : docs/.vitepress/dist
34
+ env :
35
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { description, version } from "../../package.json";
5
5
// https://vitepress.dev/reference/site-config
6
6
export default defineConfig ( {
7
7
title : "eslint-plugin-vuejs-a11y" ,
8
+ base : "/eslint-plugin-vuejs-accessibility/" ,
8
9
description,
9
10
themeConfig : {
10
11
// https://vitepress.dev/reference/default-theme-config
You can’t perform that action at this time.
0 commit comments