Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/browser-Extension-Release-Chrome-Webstore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "Browser-Extension-Release-Chrome-Webstore"
on:
push:
branches:
- master
paths:
- 'browser-extension/**'
release:
types: [created]

jobs:
chrome-extension:
name: "zip-files"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: papeloto/action-zip@v1
with:
files: browser-extension/
dest: starfix-extension-chrome.zip

- name: "Upload Artifact"
uses: actions/upload-artifact@v1
with:
name: starfix-extension-chrome.zip
path: ${{ github.workspace }}/starfix-extension-chrome.zip

- name: "publish extension on chrome webstore"
uses: Klemensas/chrome-extension-upload-action@master
with:
refresh-token: ${{ secrets.GOOGLE_CHROME_REFRESH_TOKEN }}
client-id: ${{ secrets.GOOGLE_CHROME_CLIENT_ID }}
file-name: starfix-extension-chrome.zip
app-id: 'ojlhpgekmmemhihkigibkhehlejkjdmo'
publish: true