Skip to content

fix(CI): pass the correct artifact path #4

fix(CI): pass the correct artifact path

fix(CI): pass the correct artifact path #4

Workflow file for this run

name: ci
concurrency:
group: ci-${{ github.event_name }}-${{ github.ref_name }}
cancel-in-progress: true
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
defaults:
run:
working-directory: ./frontend
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
name: frontend-latest
path: ./frontend/dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4