From a51934f58ad28fbb307452f0c21b6f88b572adfc Mon Sep 17 00:00:00 2001 From: Nikolay Eskov Date: Fri, 8 Nov 2024 21:06:02 +0300 Subject: [PATCH] Fix 'Deploy nodes' workflow. (#1538) * Fix 'Deploy nodes' workflow. * Fix 'concurrency' groups for deploy workflows. --- .github/workflows/deploy_node.yml | 2 +- .github/workflows/deploy_nodes.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_node.yml b/.github/workflows/deploy_node.yml index 6ccbe3bfa..2dfeda6aa 100644 --- a/.github/workflows/deploy_node.yml +++ b/.github/workflows/deploy_node.yml @@ -36,7 +36,7 @@ on: description: "Deployment server user" concurrency: - group: ${{ github.workflow }}-${{ github.event.inputs.network }}-${{ github.event.inputs.arch }} + group: deploy-node-${{ inputs.network }}-${{ inputs.arch }} # run only one deployment at a time for the same network and architecture cancel-in-progress: false # don't cancel the previous deployment if a new one is triggered jobs: diff --git a/.github/workflows/deploy_nodes.yml b/.github/workflows/deploy_nodes.yml index 851bd45e2..28cce0ad1 100644 --- a/.github/workflows/deploy_nodes.yml +++ b/.github/workflows/deploy_nodes.yml @@ -14,8 +14,8 @@ jobs: strategy: matrix: network: [ stagenet, testnet, mainnet ] - arch: [ "${{ github.event.inputs.arch }}" ] - uses: "./.github/workflows/deploy_node_to.yml" + arch: [ "${{ inputs.arch }}" ] + uses: "./.github/workflows/deploy_node.yml" with: network: ${{ matrix.network }} arch: ${{ matrix.arch }}