Skip to content

pastak/chrome-extension-release-heroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published