Skip to content

Deploy Production

Deploy Production #6

name: Deploy Production
on:
workflow_dispatch:
inputs:
ref:
description: "Branch or tag to deploy (leave empty for default branch)"
required: false
type: string
default: ""
jobs:
deploy:
uses: ./.github/workflows/wrangler-deploy.yml
with:
environment: production
worker_name: website
site_url: https://johnhooks.io
domains: johnhooks.io,www.johnhooks.io
ref: ${{ inputs.ref }}
secrets:
cloudflare_api_token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
cloudflare_account_id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}