Skip to content

Update upload.yml

Update upload.yml #3

Workflow file for this run

name: Upload to Web Store
on:
push:
tags:
- '*'
jobs:
build-extension:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/workflows
upload-extension:
runs-on: ubuntu-latest
needs: build-extension
steps:
- name: Download extension archive
uses: actions/download-artifact@v3
with:
name: extension-${{ github.sha }}
- name: Upload to webstore
uses: ExtensionNinja/extension-publish@main
with:
action: upload
extensionID: INSERT_YOUR_EXTENSION_ID
clientID: ${{ secrets.CI_GOOGLE_CLIENT_ID }}
clientSecret: ${{ secrets.CI_GOOGLE_CLIENT_SECRET }}
clientRefreshToken: ${{ secrets.CI_GOOGLE_REFRESH_TOKEN }}
extensionFile: extension-${{ github.event.pull_request.head.sha }}.zip