Skip to content

feat: edit organization infos (#11) #24

feat: edit organization infos (#11)

feat: edit organization infos (#11) #24

name: Deploy production
on:
push:
branches: [main]
jobs:
deploy-production:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [20.x]
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
DATABASE_URL: ${{ secrets.PRODUCTION_DATABASE_URL }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: pnpm/action-setup@v2
- run: pnpm i
- run: pnpm run lint
- run: pnpm run typecheck
- run: pnpm run --filter @dinstack/api db:migrate
- run: pnpm run deploy:production
- uses: nathanvaughn/actions-cloudflare-purge@master
with:
cf_zone: ${{ secrets.CLOUDFLARE_ZONE_ID }}
cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }}