mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
fc97ccb6dc
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [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/v6...v7)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 62f627ecc6)
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
name: Build and Deploy Unstable Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- v0.8.0 # Trigger the workflow on pushes to the default branch which is currently v0.8.0
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.x'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
cd src/bonsai/docs # Navigate to the docs directory
|
|
pip install -r requirements.txt # Install dependencies from requirements.txt
|
|
|
|
- name: Build documentation
|
|
run: |
|
|
cd src/bonsai/docs # Navigate to the docs directory
|
|
make html # Build the documentation
|
|
|
|
- name: Deploy to GitHub Pages (Unstable)
|
|
uses: peaceiris/actions-gh-pages@v4
|
|
with:
|
|
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} # SSH key for deployment
|
|
external_repository: IfcOpenShell/bonsaibim_org_docs_unstable # Target repository
|
|
publish_branch: main # Branch to deploy to
|
|
cname: docs-unstable.bonsaibim.org # Custom domain for unstable docs
|
|
publish_dir: src/bonsai/docs/_build/html # Directory containing built docs |