aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/publish.yml
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-04-17 04:05:01 +0200
committerGitHub <noreply@github.com>2023-04-17 04:05:01 +0200
commit5305447f442b57443c4616ccd8d530c2c5e539b4 (patch)
treeae7eb4e71b1b2dffe15a5173d8282913a0c98e9d /.github/workflows/publish.yml
parent76e74b3e40c82ef1fd992596298fbf967bcef4c0 (diff)
downloadVencord-5305447f442b57443c4616ccd8d530c2c5e539b4.tar.gz
Vencord-5305447f442b57443c4616ccd8d530c2c5e539b4.tar.bz2
Vencord-5305447f442b57443c4616ccd8d530c2c5e539b4.zip
firefox: Fix csp (QuickCss, themes, some plugins) (#554)
Diffstat (limited to '.github/workflows/publish.yml')
-rw-r--r--.github/workflows/publish.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 89cc2cb..9f9df49 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -35,15 +35,15 @@ jobs:
- name: Publish extension
run: |
- cd dist/extension-unpacked
-
# Do not fail so that even if chrome fails, firefox gets a shot. But also store exit code to fail workflow later
EXIT_CODE=0
# Chrome
+ cd dist/chromium-unpacked
pnpx chrome-webstore-upload-cli@2.1.0 upload --auto-publish || EXIT_CODE=$?
# Firefox
+ cd ../chromium-unpacked
npm i -g web-ext@7.4.0 web-ext-submit@7.4.0
web-ext-submit || EXIT_CODE=$?
@@ -58,4 +58,3 @@ jobs:
# Firefox
WEB_EXT_API_KEY: ${{ secrets.WEBEXT_USER }}
WEB_EXT_API_SECRET: ${{ secrets.WEBEXT_SECRET }}
-