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