fix GitHub actions and add extra security to project-id (#19851)

* Update deploy.yaml

* update deploy.yaml for functions

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
Anwar KnyaneandCharis authored and GitHub committed 2023-12-19 18:54:59 +00:00
1 parent add4018d08
commit 4e4ff1f02a
1 file changed
+2 -2
+2 -2
View File
@@ -12,7 +12,7 @@ jobs:
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
PROJECT_ID: zdtdtxajzydjqzuktnqx
SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_PROJECT_ID }}
steps:
- uses: actions/checkout@v3
@@ -21,4 +21,4 @@ jobs:
with:
version: latest
- run: supabase functions deploy github-action-deploy --project-ref $PROJECT_ID
- run: supabase functions deploy --project-ref $SUPABASE_PROJECT_ID