Skip to content

Publish example page using GitHub Actions workflow #1

Publish example page using GitHub Actions workflow

Publish example page using GitHub Actions workflow #1

Workflow file for this run

name: Deploy
on:
push:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 20
# - run: npm install
# - run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: "build"
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4