E2B/.github/workflows/supabase.yml
Jakub Novák d65de1bbe8
Update Ubuntu base image to 22.04 (#653)
# Description

There is a scheduled Ubuntu 20.04 brownout. Ubuntu 20.04 LTS runner will
be removed on 2025-04-15. For more details, see
https://github.com/actions/runner-images/issues/11101
2025-04-01 08:50:51 -07:00

37 lines
777 B
YAML

name: Deploy Supabase Edge functions
on:
push:
paths:
- 'supabase/functions/**'
- '.github/workflows/supabase.yml'
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_PROJECT_ID: ${{ vars.SUPABASE_PROJECT_ID }}
jobs:
deploy:
name: Deploy
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Supabase CLI
uses: supabase/setup-cli@v1
with:
version: latest
- name: Deploy supabase edge functions
run: supabase functions deploy --project-ref "$SUPABASE_PROJECT_ID"