Skip to content

feat: update expressive code styles for better readability in markdown #27

feat: update expressive code styles for better readability in markdown

feat: update expressive code styles for better readability in markdown #27

name: Deploy website to GitHub Pages
# Opt-in: enable Pages in repo settings (Source: GitHub Actions) to activate.
#
# Production deploys publish to the custom domain
# https://copilot-cli.genisisiq.com (served from the root path).
# The CNAME file in `website/public/CNAME` tells GitHub Pages which custom
# domain to bind to the deployed site. Configure the matching DNS record
# (CNAME copilot-cli -> <owner>.github.io) at the domain registrar.
on:
push:
branches: [main]
paths:
- 'website/**'
- 'docs/**'
- '.github/workflows/deploy-website.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
cache-dependency-path: website/package-lock.json
- name: Install dependencies
working-directory: website
run: npm ci
- name: Build site
working-directory: website
env:
DEPLOY_TARGET: github-pages
# Custom domain served from the root path.
SITE_URL: https://copilot-cli.genisisiq.com
SITE_BASE: ''
# Configure this as a GitHub repository variable, e.g. G-ABC123DEF4.
PUBLIC_GA_ID: ${{ vars.PUBLIC_GA_ID }}
run: npm run build
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: website/dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v5