Skip to content

Create deploy.yml

Create deploy.yml #1

Workflow file for this run

name: Deno
on:
push:
branches: ["main"]
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Configure GitHub Pages
uses: actions/[email protected]
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install Deps
run: bun i
- name: Build
run: bun run build --base=/liveui/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4