test_react_hook/hook.sh
2020-05-07 12:13:18 +07:00

18 lines
430 B
Bash

@!/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
echo "-- Open Browser Result "
HEROKU_API_KEY=$API_KEY heroku open