refactor: change staging URL

This commit is contained in:
Alessandro Pezzè 2020-06-03 20:28:29 +02:00
parent 615093d9a1
commit 183af52fe8

View File

@ -5,5 +5,5 @@
if [ "${CIRCLE_BRANCH}" = 'master' ]; then # https://stackoverflow.com/a/2013589/3482533
~/.local/bin/ditto transform --base-url='https://pokeapi.co' --src-dir=data --dest-dir=_gen
elif [ "${CIRCLE_BRANCH}" = 'staging' ]; then
~/.local/bin/ditto transform --base-url='https://pokeapi-test-b6137.firebaseapp.com' --src-dir=data --dest-dir=_gen
~/.local/bin/ditto transform --base-url='https://staging.pokeapi.co' --src-dir=data --dest-dir=_gen
fi