Skip to content

Commit

Permalink
Switch deployment strategy from immediate to rolling (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgautier authored Sep 16, 2022
1 parent 0cd3f92 commit e2a8bad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,8 @@ if [ -n "$INPUT_POSTGRES" ]; then
flyctl postgres attach --app "$app" "$postgres_app" || true
fi



if [ "$INPUT_UPDATE" != "false" ]; then
flyctl deploy --app "$app" --image "$image" --region "$region" --strategy immediate
flyctl deploy --app "$app" --image "$image" --region "$region" --strategy rolling
fi

if [ -n "$INPUT_SECRETS" ]; then
Expand Down

0 comments on commit e2a8bad

Please sign in to comment.