Skip to content

chore(ci): allow token to publish to github pages #2

chore(ci): allow token to publish to github pages

chore(ci): allow token to publish to github pages #2

Workflow file for this run

name: build-github-pages
permissions:
contents: read
pages: write
id-token: write
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run build
- id: build-publish
uses: bitovi/github-actions-react-to-github-pages@v1.2.4
with:
path: dist