chore: use latest cli version.

This commit is contained in:
thorwebdev committed 2023-06-01 12:58:01 +08:00
1 parent 66455d5ebb
commit 0877df6fbb
5 files changed
+15 -6

No files matched your search

@@ -31,7 +31,7 @@ jobs:
- uses: supabase/setup-cli@v1
with:
version: 1.0.0
version: latest
- run: supabase functions deploy --project-ref $PROJECT_ID
```
@@ -40,9 +40,18 @@ jobs:
- uses: supabase/setup-cli@v1
with:
version: 1.0.0
version: latest
- run: supabase functions deploy github-action-deploy --project-ref $PROJECT_ID
- run: supabase functions deploy --project-ref $PROJECT_ID
```
Since Supabase CLI [v1.62.0](https://github.com/supabase/cli/releases/tag/v1.62.0) you can deploy all functions with a single command.
Individual function configuration like [JWT verification](/docs/reference/cli/config#functions.function_name.verify_jwt) and [import map location](/docs/reference/cli/config#functions.function_name.import_map) can be set via the `config.toml` file.
```toml
[functions.hello-world]
verify_jwt = false
```
export const Page = ({ children }) => <Layout meta={meta} children={children} />
+1 -1
View File
@@ -19,6 +19,6 @@ jobs:
- uses: supabase/setup-cli@v1
with:
version: 1.0.0
version: latest
- run: supabase functions deploy github-action-deploy --project-ref $PROJECT_ID
+1 -1
View File
@@ -88,7 +88,7 @@ jobs:
- uses: supabase/setup-cli@v1
with:
version: 1.0.0
version: latest
- run: supabase functions deploy --project-ref $PROJECT_ID
```
@@ -26,7 +26,7 @@ jobs:
- uses: supabase/setup-cli@v1
with:
version: 1.0.0
version: latest
- run: supabase functions deploy github-action-deploy --project-ref $PROJECT_ID
```