Create Sonderanfertigung_x825_y0.blend #9
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: create Wandhalterung | |
on: | |
push: | |
paths: | |
- "Beleuchtung/Wandhalterung/**" | |
workflow_dispatch: | |
jobs: | |
defaultAction: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# Install Blender | |
- name: Install Blender | |
run: sudo snap install blender --classic | |
# install gitpython | |
- name: install gitpython | |
run: pip install gitpython | |
# export .obj | |
- name: export .obj | |
run: blender --background --python utilities/scripts/exportOBJ_Wandhalterung.py | |
# render Thumbnails | |
- name: Render Thumbnails | |
run: blender --background --python utilities/scripts/renderThumbnail_Wandhalterung.py | |
# create Readme | |
- name: create Readme | |
run: python utilities/scripts/createReadme_Wandhalterung.py | |
# commit changes | |
- name: commit changes | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git pull | |
git add . | |
git commit -m "generated" | |
git push |