-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6fff61
commit 5c540f3
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,10 @@ jobs: | |
- run: npm install [email protected] typescript -g | ||
- run: typedoc src/server.ts --name sgo | ||
|
||
- run: npm i markdown-to-html-cli -g | ||
- run: markdown-to-html --output docs/index.html | ||
- run: markdown-to-html --source README-zh.md --output docs/index.zh.html | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
|
@@ -33,12 +37,12 @@ jobs: | |
|
||
- name: Generate Changelog | ||
id: changelog | ||
uses: jaywcjlove/[email protected].3 | ||
uses: jaywcjlove/[email protected].6 | ||
if: steps.create_tag.outputs.successful | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
head-ref: ${{ steps.create_tag.outputs.version }} | ||
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot) | ||
filter-author: (小弟调调™|Renovate Bot) | ||
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}' | ||
|
||
- name: Create Release | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,13 @@ | |
"name": "sgo", | ||
"version": "3.0.0", | ||
"description": "Setting a directory to a static server.", | ||
"homepage": "https://jaywcjlove.github.io/sgo/", | ||
"author": "kenny wang <[email protected]>", | ||
"main": "lib/server.js", | ||
"license": "MIT", | ||
"bin": { | ||
"sgo": "lib/sgo.js" | ||
}, | ||
"main": "lib/server.js", | ||
"scripts": { | ||
"prepare": "npm run build", | ||
"build": "tsbb build --no-esm --disable-babel --entry src/sgo.ts", | ||
|
@@ -38,8 +41,12 @@ | |
"type": "git", | ||
"url": "https://github.com/jaywcjlove/sgo.git" | ||
}, | ||
"author": "kenny wang <[email protected]>", | ||
"license": "MIT", | ||
"markdown-to-html": { | ||
"reurls": { | ||
"README-zh.md": "index.zh.html", | ||
"README.md": "index.html" | ||
} | ||
}, | ||
"dependencies": { | ||
"chokidar": "3.5.2", | ||
"ejs": "3.1.6", | ||
|