File tree Expand file tree Collapse file tree 3 files changed +52
-24
lines changed
docs/.vuepress/components Expand file tree Collapse file tree 3 files changed +52
-24
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 :
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
+
29
+ - uses : actions/setup-node@v3
30
+ with :
31
+ node-version : 18
32
+
33
+ - name : Install Packages
34
+ run : npm install
35
+
36
+ - name : Build docs
37
+ run : |+
38
+ export NODE_OPTIONS=--openssl-legacy-provider
39
+ npm run docs:build
40
+
41
+ - name : Setup Pages
42
+ uses : actions/configure-pages@v2
43
+
44
+ - name : Upload artifact
45
+ uses : actions/upload-pages-artifact@v1
46
+ with :
47
+ path : ./docs/.vuepress/dist
48
+
49
+ - name : Deploy to GitHub Pages
50
+ id : deployment
51
+ uses : actions/deploy-pages@v1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 12
12
13
13
<script >
14
14
// https://github.com/vuejs/vuepress/issues/451
15
- import EslintEditor from " ../../../node_modules/vue-eslint-editor.vue"
15
+ import EslintEditor from " ../../../node_modules/vue-eslint-editor/dist/index .vue"
16
16
import { rules } from " ../../../"
17
17
18
18
export default {
You can’t perform that action at this time.
0 commit comments