Skip to content

scale machine

scale machine #20

Workflow file for this run

---
name: Build Minecraft Server
on:
push:
branches:
- main
jobs:
fly-config-validate:
name: Validate Fly.io config
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Validate config
run: flyctl config validate --app ${{ secrets.APP_NAME }}
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
deploy:
name: Build Minecraft App
runs-on: ubuntu-latest
needs:
- fly-config-validate
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy
run: flyctl deploy --remote-only --app ${{ secrets.APP_NAME }}