From a8c6878f3604bda6f26c9ef98652c0bfbaf4c425 Mon Sep 17 00:00:00 2001 From: Akseli Kolari <33838340+Akzuu@users.noreply.github.com> Date: Sun, 14 Jan 2024 09:55:35 +0200 Subject: [PATCH] Deployment workflow (#89) --- .github/workflows/fly-deploy.yml | 17 +++++++++++++++++ 1 file changed, 17 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..0cfb935 --- /dev/null +++ b/.github/workflows/fly-deploy.yml @@ -0,0 +1,17 @@ +name: Fly deploy +on: + push: + branches: + - main + +jobs: + deploy: + timeout-minutes: 10 + runs-on: ubuntu-latest + concurrency: deploy-group + steps: + - uses: actions/checkout@v3 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}