Skip to content

Use png for example

Use png for example #8

name: Deploy to GitHub Pages
on:
push:
branches:
- main
permissions:
contents: write
pages: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: pnpm/action-setup@v2.0.1
with:
version: 8.15.5
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 21
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
branch: gh-pages
folder: apps/web/out