diff --git a/.github/workflows/flyio.yml b/.github/workflows/flyio.yml new file mode 100644 index 0000000..82989f9 --- /dev/null +++ b/.github/workflows/flyio.yml @@ -0,0 +1,18 @@ +name: Deploy to Fly + +on: [push] + +jobs: + deploy: + name: Deploy proxy + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set flyctl + uses: superfly/flyctl-actions/setup-flyctl@master + - name: Deploy to fly.io + run: flyctl deploy --remote-only + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} +