test_react_hook/hook.sh

16 lines
363 B
Bash
Raw Normal View History

2020-05-07 12:13:18 +07:00
@!/bin/sh
API_KEY=d282975b-22ba-48f1-9bbe-a1a22bec5543
echo "Push Project To Heroku"
echo "-- Start Login Heroku Containers Registry"
HEROKU_API_KEY=$API_KEY heroku container:login
echo "-- Start Push App To Heroku"
HEROKU_APP_KEY=$API_KEY heroku container:push web
echo "-- Start Release App on Heroku"
HEROKU_API_KEY=$API_KEY heroku container:release web