Skip to content

Bump postcss from 8.5.6 to 8.5.10 in /site #26

Bump postcss from 8.5.6 to 8.5.10 in /site

Bump postcss from 8.5.6 to 8.5.10 in /site #26

Workflow file for this run

name: Deploy Site
on:
push:
branches: [main]
paths: ['site/**']
pull_request:
branches: [main]
paths: ['site/**']
jobs:
build:
name: Build Site
runs-on: ubuntu-latest
defaults:
run:
working-directory: site
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: site/package-lock.json
- run: npm ci
- run: npm run build
deploy:
name: Deploy to Vercel
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Vercel CLI
run: npm install -g vercel
- name: Deploy
working-directory: site
run: vercel --prod --token ${{ secrets.VERCEL_TOKEN }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}