From cf3af574ef767ef563c09b756a371186ef56cdb3 Mon Sep 17 00:00:00 2001 From: Gaurang Jadia Date: Mon, 7 Nov 2022 18:07:20 -0800 Subject: [PATCH] Create fly-deploy.yml --- .github/workflows/fly-deploy.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/fly-deploy.yml diff --git a/.github/workflows/fly-deploy.yml b/.github/workflows/fly-deploy.yml new file mode 100644 index 0000000..928340e --- /dev/null +++ b/.github/workflows/fly-deploy.yml @@ -0,0 +1,18 @@ +name: Fly Deploy + +on: + push: + tags: + - 'v*' + +env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} + +jobs: + deploy: + name: Deploy app + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only