Skip to content

Commit

Permalink
deployments (#134)
Browse files Browse the repository at this point in the history
* feat: use blue-green deployments

* feat: use blue-green deployments
  • Loading branch information
chronark authored Jul 9, 2023
1 parent a83df84 commit cda8062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

- name: Deploy prod
if: "!github.event.release.prerelease"
run: /home/runner/.fly/bin/flyctl --app="unkey-api-production" deploy --image=${{ env.TAG }}
run: /home/runner/.fly/bin/flyctl --app="unkey-api-production" deploy --image=${{ env.TAG }} --strategy=bluegreen
working-directory: apps/api
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
2 changes: 1 addition & 1 deletion apps/api/fly.prod.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ primary_region = "iad"
dockerfile = "./Dockerfile"

[deploy]
strategy = "canary"
strategy = "bluegreen"

[http_service]
internal_port = 8080
Expand Down

1 comment on commit cda8062

@vercel
Copy link

@vercel vercel bot commented on cda8062 Jul 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

unkey – ./

unkey-git-main-unkey.vercel.app
unkey.vercel.app
unkey-unkey.vercel.app
www.unkey.dev
unkey.dev

Please sign in to comment.