This repository has been archived by the owner on Mar 28, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.Add deploy github actions 2.Add resources docs 3.Fix formula bug
- Loading branch information
mengshukeji
committed
Nov 26, 2020
1 parent
4b36102
commit ddac582
Showing
5 changed files
with
118 additions
and
33 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Github pages deploy | ||
|
||
on: push | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout # 检查项目 | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js # Nodejs版本 | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 12.13.0 | ||
|
||
- name: Install dependencies & Generate static files # 安装依赖打包demo和文档 | ||
run: | | ||
node -v | ||
npm install | ||
npm install gulp -g | ||
npm run build | ||
npm run docs:build | ||
- name: Deploy LuckysheetDemo to GitHub Pages # 发布demo 到github pages | ||
if: success() | ||
uses: crazy-max/ghaction-github-pages@v2 | ||
with: | ||
repo: mengshukeji/LuckysheetDemo | ||
target_branch: gh-pages | ||
build_dir: dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} | ||
|
||
- name: Deploy LuckysheetDocs to GitHub Pages # 发布docs 到github pages | ||
if: success() | ||
uses: crazy-max/ghaction-github-pages@v2 | ||
with: | ||
repo: mengshukeji/LuckysheetDocs | ||
target_branch: gh-pages | ||
build_dir: docs/.vuepress/dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} |
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
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
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
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