Skip to content

Commit

Permalink
restore --project-ref on cli call
Browse files Browse the repository at this point in the history
  • Loading branch information
martypdx committed Oct 31, 2023
1 parent 0faf346 commit eaf1923
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ jobs:
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.token }}
SUPABASE_DB_PASSWORD: ${{ secrets.db-password }}
SUPABASE_PROJECT_ID: ${{ inputs.project-id }}
PROJECT_ID: ${{ inputs.project-id }}
SUPABASE_PROJECT_REF: ${{ inputs.project-id }}

steps:
- name: Log deployment info
run: |
echo Deploying Supabase from ${{ github.ref_name }} to project id $SUPABASE_PROJECT_ID
echo Deploying Supabase from ${{ github.ref_name }} to project id $PROJECT_ID
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -36,4 +34,4 @@ jobs:
version: latest

- name: Deploy Functions
run: supabase functions deploy
run: supabase functions deploy --project-ref $PROJECT_ID

0 comments on commit eaf1923

Please sign in to comment.