PokeAPI / pokeapi.co

The PokéAPI documentation website
https://pokeapi.co
BSD 3-Clause "New" or "Revised" License
138 stars 52 forks source link

Enable staging deployment #76

Closed Naramsim closed 4 years ago

Naramsim commented 4 years ago

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.

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