From a67b6caee1272b548e5641cc6486f2cfaa0cead1 Mon Sep 17 00:00:00 2001 From: fewensa <37804932+fewensa@users.noreply.github.com> Date: Sun, 8 Oct 2023 18:36:46 +0800 Subject: [PATCH] Trigger deploy tracing node for mainnets --- .github/workflows/release.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bcc96811b..a0b7e9cc4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -272,7 +272,18 @@ jobs: uses: actions/checkout@v4 - name: Tag uses: olegtarasov/get-tag@v2.1 - - name: Deploy testnets tracing node + - name: Deploy tracing node (mainnets) + if: startsWith(github.ref, 'refs/tags/v') + env: + GITHUB_TOKEN: ${{ secrets.GH_TKN_DARWINIA }} + run: | + gh workflow run \ + trigger-tracing-node.yml \ + --ref=main \ + --repo=darwinia-network/devops \ + --raw-field=type=mainnets \ + --raw-field="version=$GIT_TAG_NAME" + - name: Deploy tracing node (testnets) if: startsWith(github.ref, 'refs/tags/pango') env: GITHUB_TOKEN: ${{ secrets.GH_TKN_DARWINIA }}