-
Notifications
You must be signed in to change notification settings - Fork 2
27 lines (24 loc) · 851 Bytes
/
fly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 }}