Skip to content

fuck meta

fuck meta #128

Workflow file for this run

name: Deploy to Pages
on:
push:
branches: ["main"]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
env:
BUILD_PATH: static
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup bun
uses: oven-sh/setup-bun@v2
- run: bun install
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- run: BASE_URL="/experiment" bun run build:spa
- run: cp ./static/index.html ./static/404.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: static
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4