Skip to content

Publish

Publish #14

Workflow file for this run

name: Publish
on:
workflow_run:
workflows:
- Document
types:
- completed
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: pages
url: ${{ steps.deployment.outputs.page_url }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
path: './documentation/latest/site'
- name: Deploy Pages
id: deployment
uses: actions/deploy-pages@v4