Skip to content

Create vercel.json (#5) #14

Create vercel.json (#5)

Create vercel.json (#5) #14

Workflow file for this run

name: Deploy staging
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: darwinia-network/devops/actions/smart-vercel@main
name: Deploy to Vercel
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_group: itering
preview_output: true
project_name: collator-staking
script_install: pnpm install --no-frozen-lockfile
script_build: pnpm run build
dist_path: dist
enable_cache: true
enable_notify_slack: true
slack_channel: public-ringdao-apps
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}