mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 21:29:08 +03:00
* fix: possible command injection in docs-lint * fix: explicit permissions for github actions
32 lines
633 B
YAML
32 lines
633 B
YAML
name: Deploy OG Images
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'supabase/functions/og-images/**'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
|
|
PROJECT_ID: ${{ secrets.OG_IMAGE_SUPABASE_PROJECT_ID }}
|
|
|
|
steps:
|
|
- name: Check out repo
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup the Supabase CLI
|
|
uses: supabase/setup-cli@v1
|
|
with:
|
|
version: latest
|
|
|
|
- run: supabase functions deploy og-images --project-ref $PROJECT_ID --no-verify-jwt
|