diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..7881def --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: Builds, signs and publishes the WebExtension +on: + push: + branches: + - master + +jobs: + publish-to-amo: + name: Build and publish the extension + runs-on: ubuntu-latest + steps: + - name: Pull and checkout source + uses: actions/checkout@master + + - name: Sign the web-ext + uses: saphareas/sign-web-extension-action@master + with: + web-ext-id: "{your extension uuid}" + sign-listed: false + amo-api-key: ${{ secrets.AMO_API_KEY }} + amo-api-secret: ${{ secrets.AMO_API_SECRET }}