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