Skip to content

Publish

Publish #30

name: Publish
on:
push:
tags:
- v**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- name: zip
uses: montudor/action-zip@v1
with:
args: zip -r ./release.zip . -i * -x *.git*
- name: Upload to Chrome Web Store
uses: mobilefirstllc/cws-publish@latest
with:
action: 'upload'
client_id: ${{ secrets.CHROME_CLIENT_ID }}
client_secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh_token: ${{ secrets.CHROME_REFRESH_TOKEN }}
extension_id: 'nffaoalbilbmmfgbnbgppjihopabppdk'
zip_file: 'release.zip'