Skip to content

Commit

Permalink
Remove redundant tutorial build
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhmorris authored Oct 2, 2024
1 parent aae9399 commit 94934e1
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 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,13 +41,6 @@ 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: |
Expand Down

0 comments on commit 94934e1

Please sign in to comment.