Skip to content

Update README.md

Update README.md #12

Workflow file for this run

name: Deploy to github pages
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: Set CI=false for npm commands
run: |
echo "CI=false" >> $GITHUB_ENV
- run: npm run build --if-present
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
folder: build