No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
app.json
index.js
package.json

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