Skip to content

Merge pull request #2 from ingr-io/copilot/move-light-dark-toggle #7

Merge pull request #2 from ingr-io/copilot/move-light-dark-toggle

Merge pull request #2 from ingr-io/copilot/move-light-dark-toggle #7

Workflow file for this run

name: Build and Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: docs/
- uses: actions/deploy-pages@v4
id: deployment