From bebf9b65c2d6dd216efdde7da07d4c9c2e1dac77 Mon Sep 17 00:00:00 2001 From: Oleksandr Stepanov Date: Tue, 6 Jun 2023 14:23:06 +0300 Subject: [PATCH] Tweak migration from hubot to GH actions --- .github/workflows/deploy.chat.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.chat.yml b/.github/workflows/deploy.chat.yml index 35dbf8a31..b25040ba2 100644 --- a/.github/workflows/deploy.chat.yml +++ b/.github/workflows/deploy.chat.yml @@ -40,17 +40,18 @@ jobs: echo "deployment- id - ${{ needs.setup.outputs.deployment-id }} \n" echo "sha-short - ${{ needs.setup.outputs.sha-short }} \n" - # update: - # name: Update - # uses: ./.github/workflows/server.update-config.yml - # needs: [setup] - # with: - # ref: ${{ needs.setup.outputs.config-tag }} - # cluster: ${{ needs.setup.outputs.cluster }} - # environment: ${{ needs.setup.outputs.environment }} - # namespace: ${{ needs.setup.outputs.release-namespace }} - # secrets: - # github-token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }} + update: + name: Update + uses: ./.github/workflows/server.update-config.yml + if: ${{ needs.setup.outputs.config-tag }} != '' + needs: [setup] + with: + ref: ${{ needs.setup.outputs.config-tag }} + cluster: ${{ needs.setup.outputs.cluster }} + environment: ${{ needs.setup.outputs.environment }} + namespace: ${{ needs.setup.outputs.release-namespace }} + secrets: + github-token: ${{ secrets.ZKSYNC_ADMIN_BOT_ORG_REPO_WRITE }} # deploy: # name: Deploy