Skip to content

Fix publishing

Fix publishing #3

Workflow file for this run

on: [push]
name: Publish commit
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout latest commit
uses: actions/checkout@v4
- name: Set up bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Build site
run: bun run build
- name: Upload to GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: build/
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