fix: 🐛高级输入框修改 #23
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
# name: github pages | |
# on: | |
# push: | |
# branches: | |
# - master # default branch | |
# jobs: | |
# build-and-deploy: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@master | |
# - name: Build and Deploy | |
# uses: JamesIves/github-pages-deploy-action@master | |
# env: | |
# ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
# BRANCH: gh-pages | |
# FOLDER: build | |
# BUILD_SCRIPT: npm install && npm run build | |
# 整个流程在master分支发生push事件时触发。 | |
# 只有一个job,运行在虚拟机环境ubuntu-latest。 | |
# 第一步是获取源码,使用的 action 是actions/checkout。 | |
# 第二步是构建和部署,使用的 action 是JamesIves/github-pages-deploy-action。 | |
# 第二步需要四个环境变量,分别为 GitHub 密钥、发布分支、构建成果所在目录、构建脚本。其中,只有 GitHub 密钥是秘密变量,需要写在双括号里面,其他三个都可以直接写在文件里 | |
# ACCESS_TOKEN | |
name: github pages | |
on: | |
push: | |
branches: | |
- master # default branch | |
jobs: | |
deploy: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- run: npm install | |
- run: npm run docs:build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs-dist |