Blef-team / blef_game_engine

The game engine API service for the game of Blef
GNU Affero General Public License v3.0
1 stars 0 forks source link

Fix staging and prod deployments #156

Closed adrian-golian closed 4 years ago

adrian-golian commented 4 years ago

Dev, staging and prod share a file destination path , which is a location for temporary file deployment, before starting the API. CodeDeploy agent clears that path upon a redeployment, but a different deployment group (staging vs dev vs prod) deployment doesn't clear another group's deployment directories - they conflict and the new deployment fails.

Prevent the path conflict from happening.