-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 1.16 KB
/
chrome_publish.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
32
name: Publish to Chrome Web Store
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt install zip
- name: ZIP THEM NOW!!
run: |
zip -qq -r CursorConnect.zip assets customization contentScript.js flip.css flip.js popup.css popup.html popup.js tick.css && zip -j CursorConnect.zip ./platform/chromium/manifest.json
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: CursorConnect.zip
path: CursorConnect.zip
- name: Upload to Chrome
uses: mobilefirstllc/cws-publish@latest
with:
action: 'upload'
zip_file: CursorConnect.zip
extension_id: golmpimdjemjkffedbgjflgbcmcdcfnf
client_id: ${{ secrets.CLIENT_ID }}
client_secret: ${{ secrets.CLIENT_SECRET }}
refresh_token: ${{ secrets.REFRESH_TOKEN }}