From 2fa420bf62a1757509f44ba50aa5240bb1d90c5a Mon Sep 17 00:00:00 2001 From: Bryan King Pecho Date: Mon, 14 Aug 2023 13:22:21 +0800 Subject: [PATCH] feat(actions): Implement GitHub Actions Workflow for Fly.io Deployment --- .github/workflows/fly.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/fly.yml diff --git a/.github/workflows/fly.yml b/.github/workflows/fly.yml new file mode 100644 index 0000000..c2caa68 --- /dev/null +++ b/.github/workflows/fly.yml @@ -0,0 +1,15 @@ +name: Fly Deploy +on: + push: + branches: + - main +jobs: + deploy: + name: Deploy app + runs-on: ubuntu-latest + 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 }}