This PR allows invoking in a conditional manner a new deploy job present in the PokeAPI/deploy CircleCI configuration. This job will automatically deploy the pokeapi.co website to our productive environment (pokeapi.co) or to a new staging environment. The job will be invoked only when the master or staging branches of this repository are pushed to. If the master is getting pushed then the master branch will be deployed in the productive environment. Viceversa, if the staging branch is pushed, then the staging branch will be deployed in the staging environment.
This PR allows invoking in a conditional manner a new deploy job present in the
PokeAPI/deploy
CircleCI configuration. This job will automatically deploy thepokeapi.co
website to our productive environment (pokeapi.co) or to a new staging environment. The job will be invoked only when themaster
orstaging
branches of this repository are pushed to. If themaster
is getting pushed then themaster
branch will be deployed in the productive environment. Viceversa, if thestaging
branch is pushed, then thestaging
branch will be deployed in the staging environment.A more descriptive and general overview is detailed in this https://github.com/PokeAPI/pokeapi/pull/488 PR.
This PR is linked to the following PRs:
When https://github.com/PokeAPI/deploy/pull/10 will be merged we need to change
.circleci/config.yml#38
This PR should be merged after https://github.com/PokeAPI/deploy/pull/10