File tree Expand file tree Collapse file tree 4 files changed +60
-27
lines changed Expand file tree Collapse file tree 4 files changed +60
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ release :
4
+ types : [published]
5
+
6
+ jobs :
7
+ tag :
8
+ name : Add/update 'latest' tag
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout repository
12
+ uses : actions/checkout@v2
13
+ - name : Run latest-tag
14
+ uses : EndBug/latest-tag@v1
15
+ env :
16
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17
+
18
+ publish-npm :
19
+ name : Publish on NPM
20
+ runs-on : ubuntu-latest
21
+ needs : tag
22
+ steps :
23
+ - uses : actions/checkout@v2
24
+ - name : Set up Node.js for NPM
25
+ uses : actions/setup-node@v1
26
+ with :
27
+ registry-url : ' https://registry.npmjs.org'
28
+ - run : npm install
29
+ - run : npm publish
30
+ env :
31
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
32
+
33
+ publish-gpr :
34
+ name : Publish on GPR
35
+ runs-on : ubuntu-latest
36
+ needs : tag
37
+ steps :
38
+ - uses : actions/checkout@v2
39
+ - name : Set up Node.js for GPR
40
+ uses : actions/setup-node@v1
41
+ with :
42
+ registry-url : ' https://npm.pkg.github.com/'
43
+ scope : ' @markbattistella'
44
+ - run : npm install
45
+ - run : npm publish
46
+ env :
47
+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3
3
.github
4
4
.DS_Store
5
5
.markdownlintrc
6
- .vscode
6
+ .vscode
7
+ scripts
Original file line number Diff line number Diff line change 2
2
"name" : " @markbattistella/docsify-sidebarfooter" ,
3
3
"version" : " 5.0.0" ,
4
4
"description" : " Add a footer notice for Docsify.js" ,
5
- "main" : " dist/docsify-sidebar.min.js" ,
5
+ "main" : " ./ dist/docsify-sidebar.min.js" ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
8
"url" : " git+https://github.com/markbattistella/docsify-sidebarFooter.git"
9
9
},
10
- "author" : " Mark Battistella" ,
11
- "license" : " MIT" ,
12
- "bugs" : {
13
- "url" : " https://github.com/markbattistella/docsify-sidebarFooter/issues"
14
- },
15
- "homepage" : " https://footer.docsify.markbattistella.com" ,
10
+ "scripts" : {},
11
+ "unpkg" : " ./dist/docsify-sidebar.min.js" ,
12
+ "jsdelivr" : " ./dist/docsify-sidebar.min.js" ,
16
13
"keywords" : [
17
14
" footer" ,
18
15
" copyright" ,
25
22
" cookie policy" ,
26
23
" docsify" ,
27
24
" docsify plugin"
28
- ]
25
+ ],
26
+ "author" : " Mark Battistella" ,
27
+ "license" : " MIT" ,
28
+ "bugs" : {
29
+ "url" : " https://github.com/markbattistella/docsify-sidebar-footer/issues"
30
+ },
31
+ "homepage" : " https://footer.docsify.markbattistella.com"
29
32
}
You can’t perform that action at this time.
0 commit comments