From fbaaa207a3a716f9becf54387ee9df295516aa06 Mon Sep 17 00:00:00 2001 From: alefvanoon <53198048+alefvanoon@users.noreply.github.com> Date: Sat, 4 Dec 2021 21:27:50 +0100 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build.yml 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 }}