From 098b24c2762bd70028a0ed98c19316eea454d911 Mon Sep 17 00:00:00 2001 From: Dan Sosedoff Date: Mon, 5 Dec 2022 17:49:49 -0600 Subject: [PATCH] Setup fly deployment --- .github/workflows/deploy.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..6fd3f7c --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,20 @@ +name: deploy + +on: + push: + branches: + - fly-ci-cd + +env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} + +jobs: + deploy: + name: Deploy to Fly + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - uses: actions/checkout@v3 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only