Skip to content

Commit

Permalink
Merge pull request #345 from themoeway/fix-publish-chrome
Browse files Browse the repository at this point in the history
Fix stable deploy on release triggers
  • Loading branch information
djahandarie authored Dec 8, 2023
2 parents 6b7f527 + ada071f commit 76feda6
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish-chrome.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: publish-chrome
on:
release:
types: [released]
workflow_dispatch:
inputs:
attemptNumber:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish-firefox.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: publish-firefox
on:
release:
types: [released]
workflow_dispatch:
permissions:
contents: read
jobs:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 76feda6

Please sign in to comment.