summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-12-08 19:16:13 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-12-08 19:25:30 +0900
commitada071fcccdb648d99b610de1a3bb3e541463b61 (patch)
treeb179c9ed85425ce60c6265e5e96eafb0fdeff14e /.github/workflows/release.yml
parent6b7f52796e22993e05e5c155298a1799c0ba23d8 (diff)
Fix stable deploy on release triggers
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml25
1 files changed, 25 insertions, 0 deletions
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