Skip to content

Fly.io Deploy

Fly.io Deploy #4

Workflow file for this run

name: Fly.io Deploy
on:
workflow_dispatch:
jobs:
deploy-node:
name: Deploy Cartesi node
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --config fly.toml --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
# deploy-fullnode:
# name: Deploy fullnode
# runs-on: ubuntu-latest
# concurrency: deploy-group # optional: ensure only one action runs at a time
# steps:
# - uses: actions/checkout@v4
# - uses: superfly/flyctl-actions/setup-flyctl@master
# - run: flyctl deploy --config fly.fullnode.toml --remote-only
# env:
# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}