File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ workflow_dispatch : null
7
+
8
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9
+ permissions :
10
+ contents : read
11
+ pages : write
12
+ id-token : write
13
+
14
+ # Allow one concurrent deployment
15
+ concurrency :
16
+ group : pages
17
+ cancel-in-progress : true
18
+
19
+ jobs :
20
+ deploy :
21
+ environment :
22
+ name : github-pages
23
+ url : ${{ steps.deployment.outputs.page_url }}
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - name : Checkout
27
+ uses : actions/checkout@v3
28
+ - uses : actions/setup-node@v3
29
+ with :
30
+ node-version : 18
31
+ - name : Install Packages
32
+ run : npm ci
33
+ - name : Build docs
34
+ run : |+
35
+ export NODE_OPTIONS=--openssl-legacy-provider
36
+ npm run docs:build
37
+ - name : Setup Pages
38
+ uses : actions/configure-pages@v2
39
+ - name : Upload artifact
40
+ uses : actions/upload-pages-artifact@v1
41
+ with :
42
+ path : ./docs/.vuepress/dist
43
+ - name : Deploy to GitHub Pages
44
+ id : deployment
45
+ uses : actions/deploy-pages@v1
Original file line number Diff line number Diff line change 1
1
"use strict"
2
2
3
3
module . exports = {
4
+ base : "/eslint-utils/" ,
4
5
title : "@eslint-community/eslint-utils" ,
5
6
description : "Utilities for ESLint plugins and custom rules." ,
6
7
serviceWorker : true ,
You can’t perform that action at this time.
0 commit comments