name: Deploy on: push: branches: - main jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - uses: superfly/flyctl-actions/setup-flyctl@1.5 - run: flyctl deploy -c deploy/fly.toml --remote-only env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}