Skip to content

ci(deps): update github actions (#478) #978

ci(deps): update github actions (#478)

ci(deps): update github actions (#478) #978

Workflow file for this run

name: documentation
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: self-hosted
outputs:
page_url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: "⬇️ Checkout"
uses: actions/checkout@v7.0.0
- name: Use Node.js 25
uses: actions/setup-node@v6.4.0
with:
node-version: 25
- uses: pnpm/action-setup@v6.0.9
name: Install pnpm
id: pnpm-install
with:
version: latest
run_install: false
- name: "📚 Build documentation"
working-directory: ./docs
run: |
pnpm install --frozen-lockfile && \
pnpm run build
- name: "🚀 Upload documentation"
uses: actions/upload-pages-artifact@v5.0.0
with:
path: ./docs/build
deploy_pages:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ needs.build.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5.0.0