Skip to content

Commit

Permalink
CI deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Sep 20, 2023
1 parent cccedef commit f3d4552
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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 }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.72.0 as builder
FROM rust:1.67 as builder

WORKDIR /usr/src/app
COPY . .
Expand Down
1 change: 0 additions & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit f3d4552

Please sign in to comment.