Skip to content

Commit

Permalink
Update and rename blenderbim-docs.yml to bonsai-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Moult authored Aug 13, 2024
1 parent 16f883c commit 578bb9b
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: blenderbim-docs
name: bonsai-docs
on:
workflow_dispatch:
jobs:
blenderbim-docs:
bonsai-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -14,14 +14,14 @@ jobs:
sudo apt update && sudo apt install -y python3-pip
pip3 install furo sphinx-autoapi sphinx-copybutton
git clone https://${{ secrets.GH_APIKEY }}@github.com/IfcOpenShell/IfcOpenShell
cd IfcOpenShell/src/blenderbim/docs
cd IfcOpenShell/src/bonsai/docs
make html
git config --global user.name 'IfcOpenBot'
git config --global user.email '[email protected]'
git clone https://${{ secrets.GH_APIKEY }}@github.com/IfcOpenShell/blenderbim_org_docs
rm -rf blenderbim_org_docs/*
cp -r _build/html/* blenderbim_org_docs/
touch blenderbim_org_docs/.nojekyll
git -C blenderbim_org_docs add .
git -C blenderbim_org_docs commit -m "Build"
git -C blenderbim_org_docs push
git clone https://${{ secrets.GH_APIKEY }}@github.com/IfcOpenShell/bonsaibim_org_docs
rm -rf bonsaibim_org_docs/*
cp -r _build/html/* bonsaibim_org_docs/
touch bonsaibim_org_docs/.nojekyll
git -C bonsaibim_org_docs add .
git -C bonsaibim_org_docs commit -m "Build"
git -C bonsaibim_org_docs push

0 comments on commit 578bb9b

Please sign in to comment.