mirror of
https://github.com/PokeAPI/api-data.git
synced 2024-11-22 15:42:30 +01:00
refactor: change staging URL
This commit is contained in:
parent
615093d9a1
commit
183af52fe8
@ -5,5 +5,5 @@
|
|||||||
if [ "${CIRCLE_BRANCH}" = 'master' ]; then # https://stackoverflow.com/a/2013589/3482533
|
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
|
~/.local/bin/ditto transform --base-url='https://pokeapi.co' --src-dir=data --dest-dir=_gen
|
||||||
elif [ "${CIRCLE_BRANCH}" = 'staging' ]; then
|
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
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user