- Deploy this app to your heroku by
- Set environment values
- Detail is written on here
- Accress to
YOUR_HEROKU_APP_HOST/initialize
and login with your item's owner account to authorize. - Set your CI config that it pushes extension zip file to
POST YOUR_HEROKU_APP_HOST/release
- sample setting is here
ITEM_ID
: Chrome WebStore item idWEBSTORE_CLIENT_ID
: Chrome WebStore OAuth Client IdWEBSTORE_CLIENT_SECRET
: Chrome WebStore OAuth Client Secret- Read more about these values: https://developer.chrome.com/webstore/using_webstore_api#beforeyoubegin
- Don't forget add
YOUR_HEROKU_APP_HOST/callback
to Redirect URL
AUTH_TOKEN
: Token for authorization with receive zip
circle.yml
deployment:
production:
branch: production
commands:
- build_command # Build extension
- pack_command # Zip extension directory
- curl -XPOST -F '[email protected]' -F "token=$RELEASE_AUTH_TOKEN" YOUR_HEROKU_APP_HOST/release