Skip to content

Add machine ID suffix to Tailscale hostnames to prevent clashes #29

Add machine ID suffix to Tailscale hostnames to prevent clashes

Add machine ID suffix to Tailscale hostnames to prevent clashes #29

Workflow file for this run

# ABOUTME: GitHub Actions workflow for automated Fly.io deployment
# ABOUTME: Deploys hub, anycast leaves, and services on push to main
name: Deploy to Fly.io
on:
push:
branches: [main]
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy Applications
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
strategy:
max-parallel: 1
matrix:
include:
- app: magnet-9rl
config: servers/magnet-9rl/fly.toml
- app: magnet-irc
config: servers/magnet-irc/fly.toml
- app: magnet-atheme
config: servers/magnet-atheme/fly.toml
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy ${{ matrix.app }}
run: flyctl deploy --config ${{ matrix.config }} --app ${{ matrix.app }} --remote-only