From 7e4e5314e5a93482c7b9391ee4d691494126fa93 Mon Sep 17 00:00:00 2001 From: benthecarman Date: Tue, 19 Sep 2023 23:58:04 -0500 Subject: [PATCH] CI deploy --- .github/workflows/deploy.yml | 17 +++++++++++++++++ fly.toml | 1 - 2 files changed, 17 insertions(+), 1 deletion(-) 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..107db4e --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,17 @@ +name: Fly Deploy + +on: + push: + branches: + - master + +jobs: + staging: + name: Deploy to staging + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: superfly/flyctl-actions/setup-flyctl@1.4 + - run: flyctl deploy --remote-only + env: + FLY_API_TOKEN: ${{ secrets.DEV_FLY_API_TOKEN }} diff --git a/fly.toml b/fly.toml index 9387ede..9bfcda6 100644 --- a/fly.toml +++ b/fly.toml @@ -8,7 +8,6 @@ primary_region = "dfw" [env] RUST_LOG = "info" - MIGRATION_URL = "https://storage-staging.mutinywallet.com/migration" MIGRATION_START_INDEX = "0" MIGRATION_BATCH_SIZE = "100"