Code Monkey home page Code Monkey logo

chrome-extension-release-heroku's Introduction

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 '[email protected]' -F "token=$RELEASE_AUTH_TOKEN" YOUR_HEROKU_APP_HOST/release

chrome-extension-release-heroku's People

Contributors

pastak avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

chrome-extension-release-heroku's Issues

Reuse token with refresh token?

On current, it gets oauth token from google oauth everytime.

However, if it uses refresh_token then it enables auto update oauth token on every push from CI.

And this solution reduces below

  • Receive webhook from GitHub
  • OAuth authorize on everytime

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.