Skip to content

Merge pull request #57 from scientificcomputing/dokken/ruff #54

Merge pull request #57 from scientificcomputing/dokken/ruff

Merge pull request #57 from scientificcomputing/dokken/ruff #54

Workflow file for this run

name: Github Pages
on:
push:
branches: [main]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
check-formatting:
uses: ./.github/workflows/check_formatting.yml
test-package:
uses: ./.github/workflows/test_package.yml
build-docs:
uses: ./.github/workflows/build_docs.yml
deploy:
needs: [test-package, build-docs]
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Download docs artifact
# docs artifact is uploaded by build-docs job
uses: actions/download-artifact@v8
with:
name: documentation
path: "./public"
# - name: Download docs artifact
# # docs artifact is uploaded by build-docs job
# uses: actions/download-artifact@v3
# with:
# name: code-coverage-report
# path: "./public/code-coverage-report"
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: "./public"
- name: Checkout
uses: actions/checkout@v7
- name: Setup Pages
uses: actions/configure-pages@v6
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5