Skip to content

Deploy 7cf9b2118cb205a0fb463cdffa4cf8d97328d148 to Github Pages #26

Deploy 7cf9b2118cb205a0fb463cdffa4cf8d97328d148 to Github Pages

Deploy 7cf9b2118cb205a0fb463cdffa4cf8d97328d148 to Github Pages #26

Workflow file for this run

name: 🚀 Deploy Github Pages
run-name: Deploy ${{ github.sha }} to Github Pages
concurrency: github-pages
on:
workflow_run:
workflows: [🧪 Typecheck]
branches: [main]
types: [completed]
jobs:
build:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ">=22"
- name: Check out repository code
id: checkout
uses: actions/checkout@v4
- name: Install packages
id: install
run: npm install --legacy-peer-deps
- name: Build static files
id: build
run: npm run build
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: .output/public
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v4