Skip to content

WebSub

WebSub #498

Workflow file for this run

name: WebSub
# example: https://vercel.com/guides/how-can-i-run-end-to-end-tests-after-my-vercel-preview-deployment
on:
deployment_status:
jobs:
websub:
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success' && github.event.deployment.environment == 'production'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: true
- name: Post WebSub
run: pnpm websub