Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant tutorial build #469

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 1 addition & 41 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,41 +14,7 @@ permissions:
id-token: write

jobs:
render-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: quarto-dev/quarto-actions/setup@v2

- uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: install poetry
run: pip install poetry

- name: install package
run: poetry install --with docs

# This section renders the quarto documents (and the README file)
# and moves them to the docs/source/_compiled_qmd directory
# which is then uploaded as an artifact.
- name: Render documents
run: |
cd docs
poetry run make tutorials_clean
poetry run make tutorials_md

# Upload
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: tutorials
path: docs/source/tutorials

build:
needs: render-docs
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -75,17 +41,11 @@ jobs:
run: |
cp README.md docs/source/index.md

# Download the rendered tutorials
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: tutorials
path: docs/source/tutorials/

# Building
- name: Build HTML using Poetry
run: |
cd docs
poetry run make tutorials_clean
poetry run make html

# Upload
Expand Down