Skip to content

Various improvements (#8) #36

Various improvements (#8)

Various improvements (#8) #36

Workflow file for this run

name: deploy
on:
push:
branches:
- main
env:
FORCE_COLOR: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-install
- run: pnpm lint
- run: pnpm build
- run: cp ./dist/index.html ./dist/404.html
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
path: "./dist"
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: prod
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4