trockerapp / trocker

This chrome/Firefox extension is an email Tracker Blocker, hence the name: Trocker!
http://trockerapp.github.io/
Apache License 2.0
129 stars 23 forks source link

Add Github Action to Deploy to Web Stores #20

Closed ColdSauce closed 11 months ago

ColdSauce commented 2 years ago

Heyo @trockerapp, nice extension! Wanted to support the open source browser extension ecosystem so we created a Github action to make it easier to publish extensions to the various web stores.

Thought you might find it useful so I added a Github workflow that will zip the extension, and allow publishing to whichever web store you'd like, all within the Github UI.

The only thing you would need to create is a SUBMIT_KEYS GitHub repository secret.

This secret is a JSON, with the schema defined here.

Here's a sample key:

{
  "$schema": "https://raw.githubusercontent.com/plasmo-corp/bpp/v1/keys.schema.json",
  "chrome": {
    "clientId": "123",
    "clientSecret": "456",
    "refreshToken": "789",
    "extId": "abcd"
  }
}

You can find instructions on how to get those keys in the schema, or if you use vscode, the schema should provide hint/intelisense when hovering over the json properties. If you need any help in setting up the keys, feel free to @ me.

Otherwise, if this doesn't seem necessary, feel free to close the PR!