Skip to content

Commit

Permalink
table missing troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
bbadajos committed Oct 31, 2023
1 parent 63f179b commit 24fd452
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/createtabletest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
SUPABASE_API_KEY: ${{ secrets.SUPABASE_API_KEY }}
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 @@ -58,17 +59,4 @@ jobs:
}
]'
curl -X POST -H "Content-Type: application/json" -H "apikey: $SUPABASE_API_KEY" -d "$TABLE_DEFINITION" "https://oecrkeanazdxowjcpjqr.supabase.co/rest/v1/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();"
# env:
# PGUSER: ${{ secrets.PG_USER }}
# PGPASSWORD: ${{ secrets.PG_PASSWORD }}

# - name: Supabase Migration
# run: supabase migration up


curl -X POST -H "Content-Type: application/json" -H "apikey: $SUPABASE_API_KEY" -d "$TABLE_DEFINITION" "https://oecrkeanazdxowjcpjqr.supabase.co/rest/v1/reform_map_data"

0 comments on commit 24fd452

Please sign in to comment.