Skip to content

untrack

untrack #15

Workflow file for this run

name: Deploy Production (Vercel)
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, 'chore: release') }}

Check failure on line 11 in .github/workflows/deploy-prod.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-prod.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
steps:
- name: Trigger Vercel production deploy
env:
VERCEL_DEPLOY_HOOK: ${{ secrets.VERCEL_DEPLOY_HOOK }}
run: |
if [ -z "$VERCEL_DEPLOY_HOOK" ]; then
echo "VERCEL_DEPLOY_HOOK secret is not set" >&2
exit 1
fi
curl -X POST "$VERCEL_DEPLOY_HOOK"