Skip to content

Commit

Permalink
Clean tracing node deploy (#1466)
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored Apr 2, 2024
1 parent bac2766 commit 4c7c156
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,32 +285,3 @@ jobs:
generate_release_notes: true
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: ${{ startsWith(github.ref, 'refs/tags/pango') }}

deploy-tracing-nodes:
name: Deploy tracing nodes
runs-on: ubuntu-latest
needs: [publish-github-release]
steps:
- name: Tag
uses: olegtarasov/[email protected]
- name: Deploy tracing nodes
run: |
IS_MAINNET=${{ env.SKIP_BUILD != 'true' && startsWith(github.ref, 'refs/tags/v') }}
IS_TESTNET=${{ env.SKIP_BUILD != 'true' && startsWith(github.ref, 'refs/tags/pango') }}
if [ "$IS_MAINNET" == "true" ]; then
TYPE=mainnets
elif [ "$IS_TESTNET" == "true" ]; then
TYPE=testnets
fi
echo $TYPE
if [ "$TYPE" != "" ]; then
GITHUB_TOKEN=${{ secrets.GH_TKN_DARWINIA }} gh workflow run \
trigger-tracing-node.yml \
--ref=main \
--repo=darwinia-network/devops \
--raw-field=type=$TYPE \
--raw-field="version=$GIT_TAG_NAME"
fi

0 comments on commit 4c7c156

Please sign in to comment.