Skip to content

Commit cca7a5a

Browse files
authored
Merge pull request #2 from TeamSTEP/feature/player-rank
Feature/player rank
2 parents 21e49dc + 967e965 commit cca7a5a

File tree

8 files changed

+543
-324
lines changed

8 files changed

+543
-324
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# .github/workflows/deploy.yml
2+
name: Deploy Supabase
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
workflow_dispatch:
9+
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
14+
env:
15+
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
16+
SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_PROJECT_ID }}
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
22+
- name: Install Supabase CLI
23+
uses: supabase/setup-cli@v1
24+
with:
25+
version: latest
26+
27+
- name: Apply database migrations
28+
run: supabase db push --db-url ${{ secrets.SUPABASE_DB_URL }}
29+
30+
- name: Deploy Edge Functions
31+
run: supabase functions deploy --project-ref $SUPABASE_PROJECT_ID --use-api

.github/workflows/deploy.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)