mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-17 09:59:39 +00:00
Fixed bug in new workflows.
This commit is contained in:
parent
6cfbc538fc
commit
30943ced5a
1 changed files with 4 additions and 6 deletions
10
.github/workflows/docsgen.yml
vendored
10
.github/workflows/docsgen.yml
vendored
|
@ -10,18 +10,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
run: |
|
|
||||||
git config user.name github-actions
|
|
||||||
git config user.email github-actions@github.com
|
|
||||||
|
|
||||||
- name: Checkout Wiki
|
- name: Checkout Wiki
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: ${{github.repository}}.wiki
|
repository: ${{github.repository}}.wiki
|
||||||
path: BOSL2.wiki
|
path: BOSL2.wiki
|
||||||
run: |
|
|
||||||
git config user.name github-actions
|
|
||||||
git config user.email github-actions@github.com
|
|
||||||
|
|
||||||
- name: Install Pillow
|
- name: Install Pillow
|
||||||
run: sudo pip3 install Pillow
|
run: sudo pip3 install Pillow
|
||||||
|
@ -51,6 +45,8 @@ jobs:
|
||||||
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
|
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
|
||||||
openscad-docsgen -m -i -t -c *.scad
|
openscad-docsgen -m -i -t -c *.scad
|
||||||
cd BOSL2.wiki
|
cd BOSL2.wiki
|
||||||
|
git config user.name github-actions
|
||||||
|
git config user.email github-actions@github.com
|
||||||
git add --all
|
git add --all
|
||||||
git commit -m "Wiki docs auto-regen."
|
git commit -m "Wiki docs auto-regen."
|
||||||
git push
|
git push
|
||||||
|
@ -59,6 +55,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd $GITHUB_WORKSPACE
|
cd $GITHUB_WORKSPACE
|
||||||
./scripts/increment_version.sh
|
./scripts/increment_version.sh
|
||||||
|
git config user.name github-actions
|
||||||
|
git config user.email github-actions@github.com
|
||||||
git add version.scad
|
git add version.scad
|
||||||
git commit -m "Bump release version."
|
git commit -m "Bump release version."
|
||||||
git push
|
git push
|
||||||
|
|
Loading…
Reference in a new issue