Skip to content

chore: update translations with Fink 🐦 #118

chore: update translations with Fink 🐦

chore: update translations with Fink 🐦 #118

Workflow file for this run

name: Migrate
on:
push:
jobs:
prod-migrate:
name: Production Migrate
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
environment: Production
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
DATABASE_AUTH_TOKEN: ${{ secrets.DATABASE_AUTH_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Clean Install
run: npm ci
- name: Migration
run: |
npx drizzle-kit push --config=drizzle-prod.config.ts --force
staging-migrate:
name: Staging Migrate
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
environment: Staging
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
DATABASE_AUTH_TOKEN: ${{ secrets.DATABASE_AUTH_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Clean Install
run: npm ci
- name: Migration
run: |
npx drizzle-kit push --config=drizzle-prod.config.ts --force