_klipper3d: New language translation deployment

Signed-off-by: Yifei Ding <yifeiding@protonmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Yifei Ding
2022-03-19 13:57:56 -07:00
committed by Kevin O'Connor
parent 444d209cce
commit b35b6cb10b
4 changed files with 87 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
name: klipper3d deploy
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- master
@@ -24,6 +26,10 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: pip install -r docs/_klipper3d/mkdocs-requirements.txt
- name: Build and deploy klipper3d
run: |
mkdocs gh-deploy --config-file docs/_klipper3d/mkdocs.yml --remote-branch gh-pages --force --verbose
- name: Build MkDocs Pages
run: docs/_klipper3d/build-translations.sh
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
branch: gh-pages # The branch the action should deploy to.
folder: site # The folder the action should deploy.