Skip to content

fix: hmr not work in mermaid component (#1246) #628

fix: hmr not work in mermaid component (#1246)

fix: hmr not work in mermaid component (#1246) #628

name: Cloudflare Workers
on:
push:
branches: [main]
jobs:
deploy:
name: Deploy to Cloudflare Workers
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: the-guild-org/shared-config/setup@main
name: setup env
with:
nodeVersion: 18
packageManager: pnpm
- name: Build
run: pnpm build
- name: Deploy
working-directory: ./packages/og-image
run: pnpm run deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}