-
-
Notifications
You must be signed in to change notification settings - Fork 7
31 lines (28 loc) · 869 Bytes
/
upload.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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