Skip to content

feat(debug): add toolkit subcommand for deepgram/support-toolkit scripts #25

feat(debug): add toolkit subcommand for deepgram/support-toolkit scripts

feat(debug): add toolkit subcommand for deepgram/support-toolkit scripts #25

Workflow file for this run

name: Deploy web — staging
on:
push:
branches: [main]
workflow_dispatch:
# Cancel any in-progress staging deploy for the same ref
concurrency:
group: web-staging-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
name: Build & deploy to staging
runs-on: ubuntu-latest
environment:
name: web-staging
url: https://deepgram-cli-staging.netlify.app
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 22
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: web
- name: Build
run: npm run build
working-directory: web
env:
SITE_URL: ${{ vars.STAGING_SITE_URL || 'https://cli.staging.deepgram.com' }}
- name: Deploy to Netlify (staging)
run: npx netlify-cli deploy --dir dist --prod --no-build
working-directory: web
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_STAGING_SITE_ID }}