aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorYifei Ding <dingyifeiair@gmail.com>2022-03-19 13:57:56 -0700
committerKevin O'Connor <kevin@koconnor.net>2022-04-06 19:04:48 -0400
commitb35b6cb10b323955d716686ecf9ee31b16681393 (patch)
treed2118cee35847954aa2f8e3840f5432235930c65 /.github/workflows
parent444d209cce1c65b2b0d166990d4ec1bcd7632202 (diff)
downloadkutter-b35b6cb10b323955d716686ecf9ee31b16681393.tar.gz
kutter-b35b6cb10b323955d716686ecf9ee31b16681393.tar.xz
kutter-b35b6cb10b323955d716686ecf9ee31b16681393.zip
_klipper3d: New language translation deployment
Signed-off-by: Yifei Ding <yifeiding@protonmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/klipper3d-deploy.yaml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/klipper3d-deploy.yaml b/.github/workflows/klipper3d-deploy.yaml
index 812931c7..ba6c157b 100644
--- a/.github/workflows/klipper3d-deploy.yaml
+++ b/.github/workflows/klipper3d-deploy.yaml
@@ -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.