增加功能:手册重定向 && 添加文章:如何在GameMaker中使用高级数组函数 #16
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: Build and deploy mainpage | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Prepareing environments | |
run: | | |
npm install -g pnpm | |
pnpm install | |
- name: Build mainpage | |
run: pnpm run build | |
- name: Deploy to build branch | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
BRANCH: build | |
FOLDER: .vuepress/dist |