Skip to content

feat: migrate to svelte 5 #9

feat: migrate to svelte 5

feat: migrate to svelte 5 #9

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Bun
uses: oven-sh/setup-bun@v2
with:
cache: bun
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Setup Pages
uses: actions/configure-pages@v3
with:
static_site_generator: sveltekit
- name: Build
run: bun run build
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v1
with:
path: 'build/'
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v1