refactor: address todos

This commit is contained in:
Alessandro Pezzè 2020-05-13 16:01:54 +02:00
parent 44acf889e6
commit bada6cd076
2 changed files with 2 additions and 3 deletions

View file

@ -40,4 +40,4 @@ workflows:
branches:
only:
- master
- circleci-hook # TODO: change to staging
- staging

View file

@ -87,8 +87,7 @@ notify_engine_pr() {
# Run the updater script (https://github.com/PokeAPI/api-data/blob/master/updater/cmd.bash) which will generate the new pokeapi data and push it to the api-data repository under a new branch
run_updater() {
cd "${data_repo}/updater" || cleanexit 1 "Failed to cd"
git checkout staging # TODO: remove
# Wait to be sure PokeAPI/pokeapi:origin/master has been updated on Github with the lastest merged PR content
# Wait to be sure PokeAPI/pokeapi's master branch has been updated on Github with the lastest merged PR content
sleep 10
# Build the updater image