No description, website, or topics provided.
JavaScript
Latest commit 415543e Apr 14, 2016 @pastak add approval_prompt=force
Permalink
Failed to load latest commit information.
LICENSE Initial commit Jan 20, 2016
README.md Update README.md Feb 12, 2016
app.json edit app.json Jan 28, 2016
index.js add approval_prompt=force Apr 14, 2016
package.json redis came back Jan 28, 2016

README.md

chrome-extension-release-heroku

How To Setup

  • Deploy this app to your heroku by Deploy
  • 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

Require Environment Values

  • ITEM_ID: Chrome WebStore item id
  • WEBSTORE_CLIENT_ID: Chrome WebStore OAuth Client Id
  • WEBSTORE_CLIENT_SECRET: Chrome WebStore OAuth Client Secret
  • AUTH_TOKEN: Token for authorization with receive zip

CI sample settings

  • circle.yml
deployment:
  production:
    branch: production
    commands:
      - build_command # Build extension
      - pack_command # Zip extension directory
      - curl -XPOST -F 'file=@extension.zip' -F "token=$RELEASE_AUTH_TOKEN" YOUR_HEROKU_APP_HOST/release