mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
07147f4b7f
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
36 lines
929 B
YAML
36 lines
929 B
YAML
name: Build and Deploy Stable Documentation
|
|
|
|
on:
|
|
workflow_dispatch: # Manual trigger
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.x'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
cd src/bonsai/docs
|
|
pip install -r requirements.txt # Run pip install from the docs directory
|
|
|
|
- name: Build documentation
|
|
run: |
|
|
cd src/bonsai/docs
|
|
make html
|
|
|
|
- name: Deploy to GitHub Pages (Stable)
|
|
uses: peaceiris/actions-gh-pages@v4
|
|
with:
|
|
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
|
external_repository: IfcOpenShell/bonsaibim_org_docs
|
|
publish_branch: main
|
|
cname: docs.bonsaibim.org
|
|
publish_dir: src/bonsai/docs/_build/html |