aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-12-08 10:27:28 +0000
committerGitHub <noreply@github.com>2023-12-08 10:27:28 +0000
commit76feda62addc16ebe742c899fb541b32f3089cdc (patch)
treeb179c9ed85425ce60c6265e5e96eafb0fdeff14e /.github/workflows
parent6b7f52796e22993e05e5c155298a1799c0ba23d8 (diff)
parentada071fcccdb648d99b610de1a3bb3e541463b61 (diff)
Merge pull request #345 from themoeway/fix-publish-chrome
Fix stable deploy on release triggers
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/publish-chrome.yml2
-rw-r--r--.github/workflows/publish-firefox.yml3
-rw-r--r--.github/workflows/release.yml25
3 files changed, 26 insertions, 4 deletions
diff --git a/.github/workflows/publish-chrome.yml b/.github/workflows/publish-chrome.yml
index 3a2805d3..04d3bc15 100644
--- a/.github/workflows/publish-chrome.yml
+++ b/.github/workflows/publish-chrome.yml
@@ -1,7 +1,5 @@
name: publish-chrome
on:
- release:
- types: [released]
workflow_dispatch:
inputs:
attemptNumber:
diff --git a/.github/workflows/publish-firefox.yml b/.github/workflows/publish-firefox.yml
index 272593c1..424ae8c1 100644
--- a/.github/workflows/publish-firefox.yml
+++ b/.github/workflows/publish-firefox.yml
@@ -1,7 +1,6 @@
name: publish-firefox
on:
- release:
- types: [released]
+ workflow_dispatch:
permissions:
contents: read
jobs:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 00000000..b700e2c4
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,25 @@
+name: release
+on:
+ release:
+ types: [released]
+permissions: {}
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ permissions:
+ actions: write
+ contents: write
+ steps:
+ - name: Dispatch publish-chrome
+ uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # pin@v2
+ with:
+ workflow: publish-chrome
+ token: ${{ secrets.GITHUB_TOKEN }}
+ wait-for-completion: false
+
+ - name: Dispatch publish-firefox
+ uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # pin@v2
+ with:
+ workflow: publish-firefox
+ token: ${{ secrets.GITHUB_TOKEN }}
+ wait-for-completion: false