Skip to content

ignore engine (deploy) #7

ignore engine (deploy)

ignore engine (deploy) #7

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 --ignore-engines
- run: yarn build
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}