From f87815d1204d2dc4897e4054fe9ee2e606597cf4 Mon Sep 17 00:00:00 2001 From: Casper Aangeenbrug Date: Thu, 19 Oct 2023 21:15:19 +0200 Subject: [PATCH] Add automatic deployment --- .github/workflows/deploy.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..4750c06 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,13 @@ +name: Deploy to Fly +on: [push] +jobs: + deploy: + name: Deploy proxy + runs-on: ubuntu-latest + steps: + # This step checks out a copy of your repository. + - uses: actions/checkout@v2 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: cd ./src && flyctl deploy --remote-only + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}