From 680946d39ec2bd6387c97e259d1b03cbc218aada Mon Sep 17 00:00:00 2001 From: Pablo Porto Date: Sun, 3 Apr 2022 18:33:58 +0200 Subject: [PATCH] Add CI/CD pipeline to package & release extension (#27) * Add basic Github Actions to package and release extension on Github --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ .gitignore | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..d102481 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index dccd4da..9ba0fb7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ webrtc-web infra -images/ \ No newline at end of file +old_images/ \ No newline at end of file