Translations update from Hosted Weblate #1795
Workflow file for this run
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: klipper3d deploy(test) | |
on: | |
push: | |
branches: | |
- translations | |
paths: | |
- docs/** | |
- mkdocs.yml | |
- .github/workflows/klipper3d-deploy-test.yaml | |
pull_request: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('docs/_klipper3d/mkdocs-requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install dependencies | |
run: pip install -r docs/_klipper3d/mkdocs-requirements.txt | |
- name: Remove reduntant files | |
run: rm -rf docs/locales | |
- name: Build MkDocs Pages | |
run: docs/_klipper3d/build-translations.sh |