A Github Action to publish a browser-extension to the Chrome WebStore
You will need a Google API clientId
, clientSecret
and refreshToken
. Read the guide.
extensionId
: the ID of the browser-extensionclientId
: the Google Client IDclientSecret
: the Google Client SecretrefreshToken
: the Google Refresh TokeninputFile
: the extension as zip filedoPublish
: (optional) Define if the extension should be published after upload (defaults to false)target
: (optional) Publish target (either "default" or "trustedUsers")
- 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"