GitHub Actions
Use the Supabase CLI together with GitHub Actions to automatically deploy our Supabase Edge Functions. View on GitHub.
1name: Deploy Function23on:4 push:5 branches:6 - main7 workflow_dispatch:89jobs:10 deploy:11 runs-on: ubuntu-latest1213 env:14 SUPABASE_ACCESS_TOKEN: YOUR_SUPABASE_ACCESS_TOKEN15 PROJECT_ID: YOUR_SUPABASE_PROJECT_ID1617 steps:18 - uses: actions/checkout@v41920 - uses: supabase/setup-cli@v121 with:22 version: latest2324 - run: supabase functions deploy --project-ref $PROJECT_IDSince Supabase CLI v1.62.0 you can deploy all functions with a single command.
Individual function configuration like JWT verification and import map location can be set via the config.toml file.
1[functions.hello-world]2verify_jwt = false