Last active
August 29, 2015 14:22
-
-
Save tarot/b50bad9e48545a3d478e to your computer and use it in GitHub Desktop.
web dynoをスケールするコマンド。事前にheroku config:setでHEROKU_API_KEYとHEROKU_APP_NAMEを設定する。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -n -X PATCH https://api.heroku.com/apps/${HEROKU_APP_NAME}/formation/web \ | |
-H "Accept: application/vnd.heroku+json; version=3" \ | |
-H "Authorization: Bearer ${HEROKU_API_KEY}" \ | |
-H "Content-Type: application/json" \ | |
-d '{"quantity":1}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -n -X PATCH https://api.heroku.com/apps/${HEROKU_APP_NAME}/formation/web -H "Accept: application/vnd.heroku+json; version=3" -H "Authorization: Bearer ${HEROKU_API_KEY}" -H "Content-Type: application/json" -d '{"quantity":1}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment