Skip to content

Commit

Permalink
fix(github-actions): possible fix for deployment action
Browse files Browse the repository at this point in the history
  • Loading branch information
shinybrar committed Oct 25, 2024
1 parent dc1b03d commit 41e1886
Showing 1 changed file with 9 additions and 24 deletions.
33 changes: 9 additions & 24 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,11 @@ jobs:
event-type: edge-build
token: ${{ secrets.GITHUB_TOKEN }}
client-payload: |-
'{
"release_created": "${{ steps.release-please.outputs.release_created }}",
"upload_url": "${{ steps.release-please.outputs.upload_url }}",
"html_url": "${{ steps.release-please.outputs.html_url }}",
{
"releases_created": "${{ steps.release-please.outputs.releases_created }}",
"tag_name": "${{ steps.release-please.outputs.tag_name }}",
"major": "${{ steps.release-please.outputs.major }}",
"minor": "${{ steps.release-please.outputs.minor }}",
"patch": "${{ steps.release-please.outputs.patch }}",
"sha": "${{ steps.release-please.outputs.sha }}"
}'
}
-
name: Dispatch Release Build
if: ${{ steps.release-please.outputs.release_created }}
Expand All @@ -43,16 +38,11 @@ jobs:
event-type: release-build
token: ${{ secrets.GITHUB_TOKEN }}
client-payload: |-
'{
"release_created": "${{ steps.release-please.outputs.release_created }}",
"upload_url": "${{ steps.release-please.outputs.upload_url }}",
"html_url": "${{ steps.release-please.outputs.html_url }}",
{
"releases_created": "${{ steps.release-please.outputs.releases_created }}",
"tag_name": "${{ steps.release-please.outputs.tag_name }}",
"major": "${{ steps.release-please.outputs.major }}",
"minor": "${{ steps.release-please.outputs.minor }}",
"patch": "${{ steps.release-please.outputs.patch }}",
"sha": "${{ steps.release-please.outputs.sha }}"
}'
}
-
name: Dispatch PYPI Release
if: ${{ steps.release-please.outputs.release_created }}
Expand All @@ -62,13 +52,8 @@ jobs:
event-type: pypi-release
token: ${{ secrets.GITHUB_TOKEN }}
client-payload: |-
'{
"release_created": "${{ steps.release-please.outputs.release_created }}",
"upload_url": "${{ steps.release-please.outputs.upload_url }}",
"html_url": "${{ steps.release-please.outputs.html_url }}",
{
"releases_created": "${{ steps.release-please.outputs.releases_created }}",
"tag_name": "${{ steps.release-please.outputs.tag_name }}",
"major": "${{ steps.release-please.outputs.major }}",
"minor": "${{ steps.release-please.outputs.minor }}",
"patch": "${{ steps.release-please.outputs.patch }}",
"sha": "${{ steps.release-please.outputs.sha }}"
}'
}

0 comments on commit 41e1886

Please sign in to comment.