Skip to content

Commit

Permalink
Merge pull request #4 from StegSchreck/feature/pipeline
Browse files Browse the repository at this point in the history
Create main.yml
  • Loading branch information
StegSchreck authored Aug 6, 2022
2 parents 52f867a + 9e784a3 commit 949852d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish

on:
push:
tags:
- '*'

jobs:
build:
name: Publish Extension
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: vimtor/action-zip@v1
with:
files: .
recursive: true
dest: extension_${{ github.ref_name }}.zip
- uses: actions/upload-artifact@v3
with:
name: ${{ github.ref_name }}
path: ${{ github.workspace }}/extension_${{ github.ref_name }}.zip
- name: Upload & Publish
uses: mnao305/chrome-extension-upload@3.0.0
with:
file-path: extension_${{ github.ref_name }}.zip
extension-id: mafijcfncjjmoajphbldbodbkefghgkd
client-id: ${{ secrets.GOOGLE_API_CLIENT_ID }}}
client-secret: ${{ secrets.GOOGLE_API_CLIENT_SECRET }}
refresh-token: ${{ secrets.GOOGLE_API_REFRESH_TOKEN }}

0 comments on commit 949852d

Please sign in to comment.