Skip to content

Use sparrow 2.0 (#17) #11

Use sparrow 2.0 (#17)

Use sparrow 2.0 (#17) #11

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Call the build workflows
build-docs:
uses: ./.github/workflows/build-docs.yaml
# Deploy job that depends on the build workflows
deploy:
needs: [build-docs]
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download docs artifact from build-docs workflow
uses: actions/download-artifact@v4
with:
name: doxygen-docs
path: ./site
- name: Upload combined site artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4