Skip to content

Submit to Web Store #22

Submit to Web Store

Submit to Web Store #22

Workflow file for this run

name: 'Submit to Web Store'
#Documentation for secrets: https://github.com/PlasmoHQ/bms/blob/main/tokens.md
#There is already an existing google cloud console project that the chrome keys were generated from
#The secrets are linked to my [email protected] email since it is a developer account and has access on both chrome and firefox
on:
workflow_dispatch:
#This could run on each push to main but it would only work like once a day for chrome
#Chrome won't allow submitting another package when one is in review
jobs:
main:
name: Build and publish
runs-on: ubuntu-latest
environment: deployment
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install packages
run: npm ci
- name: Build and package extension
run: npm run build:chrome && npm run build:firefox
- name: Publish extension
uses: PlasmoHQ/bpp@v3
with:
keys: ${{ secrets.SUBMIT_KEYS }}
chrome-file: build/chrome-mv3-prod.zip
firefox-file: build/firefox-mv3-prod.zip