Skip to content

GameMaker 语言-完成!!!! 至此,2023.2月的帮助文档翻译工作完成,真是他妈辛苦我了 #126

GameMaker 语言-完成!!!! 至此,2023.2月的帮助文档翻译工作完成,真是他妈辛苦我了

GameMaker 语言-完成!!!! 至此,2023.2月的帮助文档翻译工作完成,真是他妈辛苦我了 #126

Workflow file for this run

name: Build manual with static method
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Prepare submodules
run: |
git submodule update --init --remote GMS2-Robohelp-en/
git submodule update --init --remote GameMakerManualExport/
- name: Set Node.js version
uses: actions/setup-node@v3
with:
node-version: 16
- name: Set Python version to 3.10.x
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Use pnpm instead npm
run: npm install -g pnpm
- name: Prepare environments
run: |
cd GameMakerManualExport
pnpm install
pnpm run init:build
- name: Import translations to manual
run: |
cd GameMakerManualExport
pnpm run static:gendep
pnpm run static:import
pnpm run static:team
- name: Clean temp files
run: |
cd GameMakerManualExport
pnpm run clean:temp
cd ..
- name: Copy CNAME files
run: |
cp patch/CNAME.static CNAME
- name: Deploy to static branch
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
repository-name: GamemakerChina/manual-static
token: ${{ secrets.ACCESS_TOKEN }}
branch: main
folder: build