mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
Remove redundant docs-deployment.yml workflow
The https://github.com/IfcOpenShell/website repo already has bonsai-docs.yml workflow that does the same thing - builds Bonsai docs from the main repo and deploys to bonsaibim_org_docs, so this workflow is redundant and confusing.
This commit is contained in:
@@ -1,36 +0,0 @@
|
|||||||
name: Build and Deploy Stable Documentation
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch: # Manual trigger
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v6
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v6
|
|
||||||
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
|
|
||||||
Reference in New Issue
Block a user