mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
auto deploy og image
This commit is contained in:
1 parent
416f57ed51
commit
5a55bb0ca2
1 file changed
+26
@@ -0,0 +1,26 @@
|
||||
name: Deploy Function
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'supabase/functions/og-images'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
|
||||
PROJECT_ID: {{ secrets.PROJECT_ID }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: supabase/setup-cli@v1
|
||||
with:
|
||||
version: 1.0.0
|
||||
|
||||
- run: supabase functions deploy og-images --project-ref $PROJECT_ID
|
||||
Reference in new issue
Block a user