Skip to content

Sunrise countdown banner tweaks (#703) #20

Sunrise countdown banner tweaks (#703)

Sunrise countdown banner tweaks (#703) #20

Workflow file for this run

name: OpenGraph Service
on:
push:
branches: [main]
paths:
- 'packages/og-image/**'
workflow_dispatch:
inputs:
commit:
required: false
description: 'Commit ID'
jobs:
deploy:
name: Deploy to Cloudflare Workers
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ env.COMMIT }}
- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 20
packageManager: pnpm
- name: Deploy
working-directory: ./packages/og-image
run: pnpm run deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.GUILD_CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.GUILD_CF_ACCOUNT_ID }}