Skip to content

Commit

Permalink
Fix tracing node deploy trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa committed Oct 11, 2023
1 parent b8842b3 commit aaf0f76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/trigger-tracing-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
DARWINIA_VERSION=${{ env.DARWINIA_VERSION }}
- name: Trigger deploy (testnets)
if: ${{ github.event.inputs.type == 'testnets' }}
if: ${{ github.event.inputs.type == 'testnets' && matrix.type == 'testnets' }}
env:
DARWINIA_VERSION: ${{ github.event.inputs.version }}
GITHUB_TOKEN: ${{ secrets.GH_TKN_DARWINIA }}
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
--raw-field="message=[devops]: [testnets-tracing] ${MESSAGE}"
- name: Trigger deploy (mainnets)
if: ${{ github.event.inputs.type == 'mainnets' }}
if: ${{ github.event.inputs.type == 'mainnets' && matrix.type == 'mainnets' }}
env:
DARWINIA_VERSION: ${{ github.event.inputs.version }}
GITHUB_TOKEN: ${{ secrets.GH_TKN_DARWINIA }}
Expand All @@ -132,5 +132,5 @@ jobs:
--ref=main \
--repo=darwinia-network/ansible-playbooks \
--raw-field="changes=${MULTI_CHANGES}" \
--raw-field="message=[devops]: [testnets-tracing] ${MESSAGE}"
--raw-field="message=[devops]: [mainnets-tracing] ${MESSAGE}"

0 comments on commit aaf0f76

Please sign in to comment.