Skip to content

Better image api (deploy) #6

Better image api (deploy)

Better image api (deploy) #6

Workflow file for this run

name: Fly Deploy
on: [push]
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '(deploy)')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "19.x"
registry-url: "https://registry.npmjs.org"
- run: yarn
- run: yarn build
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}