Skip to content

fix(www): make stepper a bit nicer #25

fix(www): make stepper a bit nicer

fix(www): make stepper a bit nicer #25

Workflow file for this run

name: www-deploy
on:
push:
branches: ['trunk']
paths:
- 'apps/www/**'
- '.github/workflows/www-deploy.yml'
concurrency:
group: www-deploy-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/www
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml
- name: Install deps
working-directory: .
run: pnpm install --frozen-lockfile
- name: Build VitePress
run: pnpm run build
- name: Deploy to Cloudflare Workers
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
run: pnpm exec wrangler deploy