Skip to content

Commit

Permalink
api key update
Browse files Browse the repository at this point in the history
  • Loading branch information
bbadajos committed Oct 31, 2023
1 parent 6a220ca commit f1799ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/createtabletest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
PROJECT_ID: "oecrkeanazdxowjcpjqr"
SUPABASE_API_URL: "https://oecrkeanazdxowjcpjqr.supabase.co"
SUPABASE_API_KEY: ${{ secrets.SUPABASE_API_KEY }}

steps:
- name: Checkout code
Expand Down Expand Up @@ -53,14 +54,13 @@ jobs:
"name": "age",
"type": "integer"
}
# Add more columns as needed
]
}
]'
curl -X POST -H "Content-Type: application/json" -H "apikey: $SUPABASE_ACCESS_TOKEN" -d "$TABLE_DEFINITION" "https://oecrkeanazdxowjcpjqr.supabase.co/tables"
curl -X POST -H "Content-Type: application/json" -H "apikey: $SUPABASE_API_KEY" -d "$TABLE_DEFINITION" "https://oecrkeanazdxowjcpjqr.supabase.co/tables"
# re-add .sql file
# - name: Connect to PostgreSQL
# run: |
# psql -h 127.0.0.1 -U postgres -d postgres -p 5432 -c "SELECT version();"
Expand Down

0 comments on commit f1799ac

Please sign in to comment.