Skip to content

Commit

Permalink
remove functions deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mariojsnunes committed Feb 26, 2025
1 parent 2a2a0dc commit e8a3dde
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,29 +366,15 @@ jobs:
name: Set Supabase Secrets
command: flyctl -a << parameters.FLY_APP_NAME >> secrets set SUPABASE_API_URL=$SUPABASE_API_URL SUPABASE_KEY=$SUPABASE_KEY SUPABASE_SERVICE_ROLE_KEY=$SUPABASE_SERVICE_ROLE_KEY DISCORD_WEBHOOK_URL=$DISCORD_WEBHOOK_URL RESEND_API_KEY=$RESEND_API_KEY
deploy-supabase:
machine:
image: ubuntu-2004:2023.07.1 # Or a more recent Ubuntu image
docker:
- image: cimg/node:20.7.0
steps:
- checkout
- attach_workspace:
at: '.'
- run:
name: Install Node.js
command: |
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
- run:
name: Install Supabase CLI
command: npm install -g [email protected]
- run:
name: Supabase Login
command: npx [email protected] login --token $SUPABASE_ACCESS_TOKEN
- run:
name: Supabase DB Push
command: (yes || true) | npx [email protected] db push --db-url $SUPABASE_DB_URL --debug
- run:
name: Deploy Supabase Functions
command: npx [email protected] functions deploy --no-verify-jwt
- run: npx [email protected] login --token $SUPABASE_ACCESS_TOKEN
- run: (yes || true) | npx [email protected] db push --db-url $SUPABASE_DB_URL --debug
# - run: npx [email protected] functions deploy --no-verify-jwt
# Run cypress e2e tests on chrome
test_e2e:
docker: *docker
Expand Down

0 comments on commit e8a3dde

Please sign in to comment.