Skip to content

feat: change preview background color #9

feat: change preview background color

feat: change preview background color #9

Workflow file for this run

name: Pages deploy
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'src/**'
- 'public/**'
- 'package.json'
- 'vite.config.js'
- '.github/workflows/pages-deploy.yml'
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install Dependencies
run: bun install --frozen-lockfile
- name: Build
run: bun run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist'
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4