From 3188932d0401032328efc51b11fe03a49074cfef Mon Sep 17 00:00:00 2001 From: Louis <6723574+louisgv@users.noreply.github.com> Date: Thu, 17 Feb 2022 03:50:49 -0400 Subject: [PATCH] Add submit github action --- .github/workflows/submit.yml | 19 +++++++++++++++++++ .gitignore | 1 + 2 files changed, 20 insertions(+) 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..07263eac --- /dev/null +++ b/.github/workflows/submit.yml @@ -0,0 +1,19 @@ +name: "submit" +on: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: "14" + - run: npm install + - run: npm zip + - name: Browser Plugin Publish + uses: plasmo-corp/bpp@v1 + with: + artifact: ./stylus.zip + keys: ${{ secrets.SUBMIT_KEYS }} diff --git a/.gitignore b/.gitignore index b05c94c7..29131b12 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ yarn.lock *.zip .eslintcache .transifexrc +keys.json \ No newline at end of file