From 372844cb65b6f3f199a9d5b8f9fa2d054848baf9 Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Thu, 3 Aug 2023 10:46:13 +0300 Subject: [PATCH] ci: add the repository_dispatch event to the release workflow (#53) --- .github/workflows/build-and-publish.yml | 2 ++ .github/workflows/docs.yml | 2 ++ .github/workflows/release.yml | 10 ++++++++++ 3 files changed, 14 insertions(+) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 5898839..1c0abde 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -3,6 +3,8 @@ name: Build and Publish on: release: types: [published] + repository_dispatch: + types: [publish] jobs: build-and-publish: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1e09f23..b5c63cc 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,6 +3,8 @@ name: Docs on: release: types: [published] + repository_dispatch: + types: [publish] jobs: docs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d0b456..ed8adb6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,3 +17,13 @@ jobs: permissions: contents: write uses: crowdin/.github/.github/workflows/bump-version.yml@main + + publish: + runs-on: ubuntu-latest + needs: version + permissions: + contents: write + steps: + - uses: peter-evans/repository-dispatch@v2 + with: + event-type: publish