Skip to content

Merge pull request #41 from khaykingleb/move-to-react-router-v7 #73

Merge pull request #41 from khaykingleb/move-to-react-router-v7

Merge pull request #41 from khaykingleb/move-to-react-router-v7 #73

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 5
name: Run release
steps:
- name: Checkout code so that it is available to use in the executing runner
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Node
uses: actions/[email protected]
with:
node-version: 21.7.3
- name: Install Semantic Release and plugins
run: |
npm install -g [email protected] \
[email protected] \
@semantic-release/[email protected] \
@semantic-release/[email protected] \
@semantic-release/[email protected] \
@semantic-release/[email protected]
- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.PAT_GITHUB }}
deploy:
needs: release
runs-on: ubuntu-latest
env:
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }}
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}
steps:
- name: Checkout code so that it is available to use in the executing runner
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Supabase CLI
uses: supabase/setup-cli@v1
with:
version: latest
- name: Link Supabase to Project
run: supabase link --project-ref $PROJECT_ID
- name: Run Migrations and Seeds
run: supabase db push --include-seed