Skip to content

Version 1.2.7 - Chrome Release #14

Version 1.2.7 - Chrome Release

Version 1.2.7 - Chrome Release #14

name: CI/CD Pipeline - Chrome Web Store
on:
push:
branches:
- chrome-release
workflow_dispatch:
jobs:
publish-chrome-web-store:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: chrome-release
name: Checkout the repository
- run: zip -r chrome-release.zip *
name: Zip the extension
- uses: actions/upload-artifact@v3
name: Store the zip artifact
with:
name: chrome-release
path: chrome-release.zip
- name: Upload and Release
uses: mnao305/chrome-extension-upload@3.0.0
with:
file-path: chrome-release.zip
extension-id: ${{ secrets.CWS_EXTENSION_ID }}
client-id: ${{ secrets.CWS_CLIENT_ID }}
client-secret: ${{ secrets.CWS_CLIENT_SECRET }}
refresh-token: ${{ secrets.CWS_REFRESH_TOKEN }}
publish: true