Skip to content

Commit

Permalink
repository dispatch (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar authored Aug 2, 2023
1 parent cfd0472 commit 30cde30
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Documentation
on:
release:
types: [published]
repository_dispatch:
types: [publish]

jobs:
build-and-deploy-docs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Publish
on:
release:
types: [published]
repository_dispatch:
types: [publish]

jobs:
publish-npm:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 30cde30

Please sign in to comment.