Skip to content
upload-cloud

GitHub Action

Github Action Chrome Webstore Publish

v1.0 Latest version

Github Action Chrome Webstore Publish

upload-cloud

Github Action Chrome Webstore Publish

A Github Action to publish a browser-extension to the Chrome WebStore

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Github Action Chrome Webstore Publish

uses: levigo/github-action-chrome-webstore-publish@v1.0

Learn more about this action in levigo/github-action-chrome-webstore-publish

Choose a version

Github Action Chrome Webstore Publish

A Github Action to publish a browser-extension to the Chrome WebStore

Setup

You will need a Google API clientId, clientSecret and refreshToken. Read the guide.

Inputs

  • extensionId: the ID of the browser-extension
  • clientId: the Google Client ID
  • clientSecret: the Google Client Secret
  • refreshToken: the Google Refresh Token
  • inputFile: the extension as zip file
  • doPublish: (optional) Define if the extension should be published after upload (defaults to false)
  • target: (optional) Publish target (either "default" or "trustedUsers")

Example usage

- uses: levigo/github-action-chrome-webstore-publish@v1.0
  id: publish
  with:
    extensionId: "ndblkfbdgggpmbgflaoajgpmhmlendka"
    clientId: "abc.apps.googleusercontent.com"
    clientSecret: "MYSECRET"
    refreshToken: "1//09ABCDEF"
    inputFile: "./archive.zip"
    doPublish: true
    target: "default"