aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralefvanoon <53198048+alefvanoon@users.noreply.github.com>2021-12-04 21:27:50 +0100
committerGitHub <noreply@github.com>2021-12-04 21:27:50 +0100
commitfbaaa207a3a716f9becf54387ee9df295516aa06 (patch)
treeac303af9e78f527248d44eb01ab69ceceb39db52
parentMerge pull request #3 from ManeraKai/change-instance-btn (diff)
downloadlibredirect-fbaaa207a3a716f9becf54387ee9df295516aa06.zip
Create build.yml
-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 }}