Skip to content

Support set unique user attribute (#450) #356

Support set unique user attribute (#450)

Support set unique user attribute (#450) #356

Workflow file for this run

name: server-deploy CI
on:
workflow_dispatch: {}
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: cd server && npm ci
- name: Build Server View
run: cd server && npm run build
- name: Run Migration
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: 'server'
command: |
d1 migrations apply melody-auth --remote
deploy --minify src/index.tsx