Skip to content

Oauth/Mongodb (#46)

Oauth/Mongodb (#46) #9

Workflow file for this run

name: Fly Deploy
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npm run tsx-prod scripts/blog-pull.ts
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}