Skip to content

Update & squash 20240516 #1

Update & squash 20240516

Update & squash 20240516 #1

Workflow file for this run

name: Deploy to GitHub Pages (Yarn)
on:
push:
branches:
- main
paths-ignore:
- "README.md"
# Permissions of the GITHUB_TOKEN
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
- run: yarn install
- run: yarn build
- name: Upload artifact
uses: actions/[email protected]
with:
path: ./build # Change the path if required
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4