Skip to content

chore: remove scripts/test.ts #14

chore: remove scripts/test.ts

chore: remove scripts/test.ts #14

name: "[Website] Deploy"
permissions:
contents: read
id-token: write
pages: write
on:
push:
branches:
- master
paths:
- website/**
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: ./.github/actions/setup-pnpm
- name: Build
run: pnpm build
working-directory: website
- name: Upload
uses: actions/upload-pages-artifact@v3
with:
path: website/build
deploy:
name: Deploy
runs-on: ubuntu-22.04
needs: build
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}