davidp94 / chrome-addon

☁ GitHub action to upload addon to Chrome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chrome Addon Action

This action will publish your addon to the Chrome Web Store.

Usage

See action.yml

steps:
  - uses: trmcnvn/chrome-addon@v2
    with:
      # extension is only necessary when updating an existing addon,
      # omitting it will create a new addon
      extension: abcdefg
      zip: build/my-addon.zip
      client-id: ${{ secrets.CHROME_CLIENT_ID }}
      client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
      refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}

Google Credentials

For information on how to retreive these credentials check out this guide here

Troublehooting

In case your action returns an HTTP 400 error code from Chrome web store, make sure all needed information are filled in your developer dashboard (privacy etc.)

License

The scripts and documentation in this project are released under the MIT License

About

☁ GitHub action to upload addon to Chrome

License:MIT License


Languages

Language:TypeScript 92.1%Language:JavaScript 7.9%