Skip to content

Commit

Permalink
Add CI/CD pipeline to package & release extension (#27)
Browse files Browse the repository at this point in the history
* Add basic Github Actions to package and release extension on Github
  • Loading branch information
portovep authored Apr 3, 2022
1 parent af9297c commit 680946d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release
on:
push:
tags:
- v**

jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Package Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: '1Stream-chrome-${{ github.ref_name }}.zip'
path: 'chrome_extension_poc'
exclusions: '*.git* /*node_modules/* '
- name: Upload Release
uses: ncipollo/release-action@v1
with:
artifacts: '1Stream-chrome-${{ github.ref_name }}.zip'
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
webrtc-web
infra
images/
old_images/

0 comments on commit 680946d

Please sign in to comment.