animal-crossing-music-extension / ac-music-extension

Google Chrome extension that plays hourly Animal Crossing music and more while browsing!
https://acmusicext.com
zlib License
343 stars 57 forks source link

ci: add extension auto-publishing #158

Open elijaholmos opened 1 year ago

elijaholmos commented 1 year ago

Happy Hacktoberfest!

I've created a GitHub workflow for your repository that uses https://github.com/PlasmoHQ/bpp to automatically publish your extension to the Chrome Web Store whenever you initiate a dispatch from the actions tab. After you've published a tagged GitHub release, you can input that tag into this workflow, and it will fetch the release asset and send it straight to the CWS.

All that you as a maintainer will need to do is create a new GitHub secret called SUBMIT_KEYS, which will be a JSON object with your chrome web store API keys. The JSON schema is defined here.

There are instructions on how to get the CWS keys in the JSON schema, or if you use vscode, the schema should provide hint/intelisense when hovering over the JSON properties. Generating a CWS clientId/refreshToken should take no more than 10-15min. If you need any help in setting up the keys, feel free to ping me! Otherwise if this doesn't seem necessary, feel free to close the PR. Cheers!