Skip to content

Generate session after passkey signin (#255) #177

Generate session after passkey signin (#255)

Generate session after passkey signin (#255) #177

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: npm ci
- name: Build package
run: npm run build
- name: Build Server View
run: npm run build -w=server
- 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