Create build.yml

This commit is contained in:
alefvanoon 2021-12-04 21:27:50 +01:00 committed by GitHub
parent 5fa9ff1de3
commit fbaaa207a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

21
.github/workflows/build.yml vendored Normal file
View File

@ -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 }}