Version 1.2.0 - Chrome release #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |