add 专升本 高等数学及其应用 多元函数微分学及其应用 多元函数的极值及其求法 #320
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: Deploy to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
# 如果你想要进一步定义触发条件、路径等,可以查看文档 | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on | |
jobs: | |
deploy: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build website | |
run: yarn build | |
# 部署到 GitHub Pages 的热门选择: | |
# 文档:https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# 要发布到 `gh-pages` 分支的构建输出: | |
publish_dir: ./build | |
# 下面两行会将此次部署 commit 的作者设置为官方的 | |
# GH-Actions 机器人: | |
# https://github.com/actions/checkout/issues/13#issuecomment-724415212 | |
# 如果不设置这两个字段,GH actions 机器人会被默认使用。 | |
# 你可以用自己的用户信息替换它们。 | |
user_name: github-actions[bot] | |
user_email: 41898282+github-actions[bot]@users.noreply.github.com |