Skip to content

chore(deps): bump the github-actions group with 7 updates (#65) #12

chore(deps): bump the github-actions group with 7 updates (#65)

chore(deps): bump the github-actions group with 7 updates (#65) #12

Workflow file for this run

name: Deploy Documentation to GitHub Pages
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build Docusaurus Site
runs-on: ubuntu-latest
outputs:
artifact-id: ${{ steps.upload-artifact.outputs.artifact-id }}
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Build production image
run: >
docker build
--build-context readmes=readmes
--target prod
-t docusaurus-prod
docusaurus
- name: Extract build output
run: |
docker create --name docusaurus-build docusaurus-prod
docker cp docusaurus-build:/opt/docusaurus/build ./build
docker rm docusaurus-build
- name: Upload artifact
id: upload-artifact
uses: actions/upload-pages-artifact@v5
with:
path: 'build'
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Configure GitHub Pages
uses: actions/configure-pages@v6
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5