mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-25 00:58:33 -07:00
docs: avoid push of pycache
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
parent
8b58aa1302
commit
eb37621b0b
2 changed files with 7 additions and 0 deletions
2
.github/workflows/klipper3d-deploy.yaml
vendored
2
.github/workflows/klipper3d-deploy.yaml
vendored
|
|
@ -27,6 +27,8 @@ jobs:
|
|||
run: pip install -r docs/_klipper3d/mkdocs-requirements.txt
|
||||
- name: Build MkDocs Pages
|
||||
run: docs/_klipper3d/build-translations.sh
|
||||
- name: Sanitize mkdocs output
|
||||
run: docs/_klipper3d/sanitize.sh
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.3
|
||||
with:
|
||||
|
|
|
|||
5
docs/_klipper3d/sanitize.sh
Executable file
5
docs/_klipper3d/sanitize.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
# This scripts cleanups mkdocs output before commit
|
||||
|
||||
# Avoid push of pycache
|
||||
find "${PWD}/site/" -type f -name "*.pyc" -delete
|
||||
Loading…
Add table
Add a link
Reference in a new issue