diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-03-18 13:15:30 +0900 |
---|---|---|
committer | Darius Jahandarie <djahandarie@gmail.com> | 2023-03-18 13:18:52 +0900 |
commit | 9164ad6b97a494c5a6e57a6f1b83016b30b473e0 (patch) | |
tree | 70ebf8292cbe7d2543351b9cbff5fb13bfa2ec6b /.github/workflows | |
parent | 56d8e50d99fb71492d34c4fd99a3ee5383ddec81 (diff) |
Switch CD to use workflow-dispatch instead of preleased trigger
For some reason, preleased wasn't triggering (maybe because github actions created the release?).
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/create-prerelease-on-tag.yml | 15 | ||||
-rw-r--r-- | .github/workflows/publish-chrome-development.yml | 2 | ||||
-rw-r--r-- | .github/workflows/publish-firefox-development.yml | 3 |
3 files changed, 16 insertions, 4 deletions
diff --git a/.github/workflows/create-prerelease-on-tag.yml b/.github/workflows/create-prerelease-on-tag.yml index 2db723fb..3d749c58 100644 --- a/.github/workflows/create-prerelease-on-tag.yml +++ b/.github/workflows/create-prerelease-on-tag.yml @@ -10,6 +10,7 @@ jobs: build-release-publish: runs-on: ubuntu-latest permissions: + actions: write contents: write steps: - uses: actions/checkout@v3 @@ -29,3 +30,17 @@ jobs: generate_release_notes: true prerelease: true files: builds/* + + - name: Dispatch publish-chrome-development + uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # pin@v2 + with: + workflow: publish-chrome-development + token: ${{ secrets.GITHUB_TOKEN }} + wait-for-completion: false + + - name: Dispatch publish-firefox-development + uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # pin@v2 + with: + workflow: publish-firefox-development + token: ${{ secrets.GITHUB_TOKEN }} + wait-for-completion: false diff --git a/.github/workflows/publish-chrome-development.yml b/.github/workflows/publish-chrome-development.yml index a21dd52a..49c176ea 100644 --- a/.github/workflows/publish-chrome-development.yml +++ b/.github/workflows/publish-chrome-development.yml @@ -1,7 +1,5 @@ name: publish-chrome-development on: - release: - types: [prereleased] workflow_dispatch: inputs: attemptNumber: diff --git a/.github/workflows/publish-firefox-development.yml b/.github/workflows/publish-firefox-development.yml index b8245301..e8609aa0 100644 --- a/.github/workflows/publish-firefox-development.yml +++ b/.github/workflows/publish-firefox-development.yml @@ -4,8 +4,7 @@ name: publish-firefox-development on: - release: - types: [prereleased] + workflow_dispatch: permissions: contents: read jobs: |