Skip to content

Update newsletter subscription form (#9332) #484

Update newsletter subscription form (#9332)

Update newsletter subscription form (#9332) #484

name: Website (Production)
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
environment:
name: Website
url: ${{ steps.deploy.outputs.url }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_TEAM_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup
- run: pnpm install -w vercel@canary --ignore-scripts
- run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- id: deploy
run: |
url=$(vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }})
echo "url=$url" >> "$GITHUB_OUTPUT"