From 04f646c4750389544f6ff233e4b597c4afe60b00 Mon Sep 17 00:00:00 2001 From: Louis <6723574+louisgv@users.noreply.github.com> Date: Wed, 23 Feb 2022 19:31:53 -0400 Subject: [PATCH] Add github action for automated submission --- .github/workflows/submit.yml | 18 ++++++++++++++++++ .gitignore | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/submit.yml diff --git a/.github/workflows/submit.yml b/.github/workflows/submit.yml new file mode 100644 index 00000000..9e46c89d --- /dev/null +++ b/.github/workflows/submit.yml @@ -0,0 +1,18 @@ +name: "submit" +on: + workflow_dispatch: + +jobs: + submit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: npm install + - name: Build package + run: npm run build + - name: Browser Plugin Publish + uses: plasmo-corp/bpp@v1 + with: + archive: "web-ext-artifacts/tweak_new_twitter-{version}.zip" + keys: ${{ secrets.SUBMIT_KEYS }} diff --git a/.gitignore b/.gitignore index 056ea95b..dba77a8b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ locales/html/*.html locales/js/*.js locales/locales.js node_modules/ -web-ext-artifacts/ \ No newline at end of file +web-ext-artifacts/ +keys.json \ No newline at end of file