aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/build.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..7881def2
--- /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 }}