Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Add Github Action to Deploy to Web Stores #2077

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ColdSauce
Copy link

Hi @FooSoft, we created a Github action to make it easier to publish extensions to the various web stores.

Thought y'all might find it useful so I added a Github workflow that will build the extension, zip it up, and publish to the web stores on dispatch.

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": {
    "zip": "./extension/chrome.zip",
    "clientId": "123",
    "clientSecret": "456",
    "refreshToken": "789",
    "extId": "abcd"
  },
  "firefox": {
    "zip": "./extension/firefox.xpi",
    "apiKey": "123",
    "apiSecret": "abcd",
    "extId": "foobar"
  }
}

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!

@FooSoft
Copy link
Owner

FooSoft commented Feb 25, 2022

Very cool, I will have to take a look at this. Deploying to the stores is always kind of a pain, and I have wondered for a while if there was a way to automate this 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants