Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions .github/workflows/docs_deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Deploy docs to GitHub Pages

on:
push:
branches:
- main
- feat/create-new-github-actions-for-docs

Copilot AI Nov 15, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The feature branch feat/create-new-github-actions-for-docs should be removed from the trigger branches. This appears to be a temporary addition for testing and should not be part of the production workflow. Only the main branch should trigger this deployment.

Suggested change
- feat/create-new-github-actions-for-docs

Copilot uses AI. Check for mistakes.
paths:
- "docs/**"
- ".github/workflows/docs_deploy.yaml"

Copilot AI Nov 15, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow filename reference is incorrect. The actual filename is docs_deploy.yaml but this path references deploy-docs-to-pages.yml. This mismatch means changes to this workflow file won't trigger the workflow as intended. Update to:

- ".github/workflows/docs_deploy.yaml"

Copilot uses AI. Check for mistakes.
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: docs/package-lock.json

- name: Install dependencies
working-directory: ./docs
run: npm ci

- name: Build docs site
working-directory: ./docs
run: npm run build

- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/dist

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build

permissions:
pages: write
id-token: write

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

Loading