Skip to content

chore: add BASE_URL to turbo build envs #4

chore: add BASE_URL to turbo build envs

chore: add BASE_URL to turbo build envs #4

Workflow file for this run

name: Deploy Landing Page to GitHub Pages
on:
push:
branches: [ main ]
paths:
- 'apps/landingpage/**'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Build
env:
BASE_URL: /${{ github.event.repository.name }}
run: bun run build:landingpage
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./apps/landingpage/dist