From a94205a0ed8675139cf4ccab8aab713e8aa3c416 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Fri, 12 Apr 2024 14:25:51 +0100 Subject: [PATCH] fix: restore fly.io --- .github/workflows/deploy-backend-on-push.yml | 14 ++++++++++++++ apps/backend/.env.example | 3 --- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/deploy-backend-on-push.yml diff --git a/.github/workflows/deploy-backend-on-push.yml b/.github/workflows/deploy-backend-on-push.yml new file mode 100644 index 00000000..4b297ccb --- /dev/null +++ b/.github/workflows/deploy-backend-on-push.yml @@ -0,0 +1,14 @@ +name: Deploy Backend + +on: workflow_dispatch + +jobs: + deploy: + runs-on: ubuntu-latest + concurrency: deploy-group # optional: ensure only one action runs at a time + steps: + - uses: actions/checkout@v4 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: cd apps/backend && flyctl deploy --remote-only + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} diff --git a/apps/backend/.env.example b/apps/backend/.env.example index f6dd937d..fa7d9288 100644 --- a/apps/backend/.env.example +++ b/apps/backend/.env.example @@ -10,9 +10,6 @@ CLOUDFLARE_SECRET_ACCESS_KEY= CLOUDFLARE_ACCOUNT_ID= CLOUDFLARE_PUBLIC_ACCOUNT_ID= -MUSE_API_KEY= -REDIS_API_KEY= -TELEGRAM_BOT_TOKEN= SMTP_HOST= SMTP_USER=