Skip to content

Bump the gha-deps group with 3 updates (#477) #345

Bump the gha-deps group with 3 updates (#477)

Bump the gha-deps group with 3 updates (#477) #345

Workflow file for this run

name: GitHub Pages
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
env:
NODE_VERSION: 24.x
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
cache: "pnpm"
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "PNPM_STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Cache Docusaurus Build
uses: actions/cache@v5
with:
path: node_modules/.cache
key: docusaurus-${{ github.ref_name }}-${{ github.run_id }}
restore-keys: |
docusaurus-${{ github.ref_name }}
docusaurus-main
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
env:
NODE_ENV: "production"
NODE_OPTIONS: --max-old-space-size=12288
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: "./build"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4