[Refactor build] Create deployment make command
samuele-mattiuzzo opened this issue · 0 comments
samuele-mattiuzzo commented
https://github.com/IATI/IATI-Standard-SSOT/tree/ssot-refactor
Add a deploy
command to the Makefile
- should deploy to
dev
- should deploy to
live
Add a build_and_deploy
command to the Makefile, that bundles make build_live
and make deploy
, accepting a param to deploy either dev
or live
The current script lives in https://github.com/IATI/IATI-Websites/blob/master/deployment/deploy_iati_standard.sh and imho does not make sense to be separate from this repository. The deploy logic should follow, roughly, the deploy part of this script and be kept separate from the build logic.
The new command should also allow us to deploy on the currently underused dev
instances