aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRoman / Linnea Gräf <romangraef@gmail.com>2022-12-01 19:16:09 +0100
committerGitHub <noreply@github.com>2022-12-01 19:16:09 +0100
commit0ff6d3dd4168ee72f9216cfcccc9307bae5b25a7 (patch)
tree5f742d86dc9995615a241a210fc70a62cd82ecd0 /.github
parent734054ff68a103482bff903bb384bc24576c5499 (diff)
downloadVencord-0ff6d3dd4168ee72f9216cfcccc9307bae5b25a7.tar.gz
Vencord-0ff6d3dd4168ee72f9216cfcccc9307bae5b25a7.tar.bz2
Vencord-0ff6d3dd4168ee72f9216cfcccc9307bae5b25a7.zip
Add Firefox extension build (#277)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4894829..60bebcc 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -33,9 +33,22 @@ jobs:
- name: Build web
run: pnpm buildWeb --standalone
+ - name: Sign firefox extension
+ run: |
+ pnpx web-ext sign --api-key $WEBEXT_USER --api-secret $WEBEXT_SECRET
+ env:
+ WEBEXT_USER: ${{ secrets.WEBEXT_USER }}
+ WEBEXT_SECRET: ${{ secrets.WEBEXT_SECRET }}
+
- name: Build
run: pnpm build --standalone
+ - name: Rename extensions for more user friendliness
+ run: |
+ mv dist/*.xpi dist/Vencord-for-Firefox.xpi
+ mv dist/extension-v3.zip dist/Vencord-for-Chrome-and-Edge.zip
+
+
- name: Get some values needed for the release
id: release_values
run: |