diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 61a312f59..ea0604b3a 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -37,6 +37,7 @@ jobs: with: inlineScript: | SECRET_VALUE=$(az keyvault secret show --name "SLACK-WEBHOOK" --vault-name "${{ secrets.INFRA_KEY_VAULT}}" --query "value" -o tsv) + echo "::add-mask::$SECRET_VALUE" echo "SLACK-WEBHOOK=$SECRET_VALUE" >> $GITHUB_OUTPUT - name: Set up Docker Buildx @@ -109,6 +110,7 @@ jobs: with: inlineScript: | SECRET_VALUE=$(az keyvault secret show --name "SLACK-WEBHOOK" --vault-name "${{ secrets.INFRA_KEY_VAULT}}" --query "value" -o tsv) + echo "::add-mask::$SECRET_VALUE" echo "SLACK-WEBHOOK=$SECRET_VALUE" >> $GITHUB_OUTPUT - name: Trigger Development Deployment @@ -153,6 +155,7 @@ jobs: with: inlineScript: | SECRET_VALUE=$(az keyvault secret show --name "SLACK-WEBHOOK" --vault-name "${{ secrets.INFRA_KEY_VAULT}}" --query "value" -o tsv) + echo "::add-mask::$SECRET_VALUE" echo "SLACK-WEBHOOK=$SECRET_VALUE" >> $GITHUB_OUTPUT - name: Trigger Test Deployment @@ -196,6 +199,7 @@ jobs: with: inlineScript: | SECRET_VALUE=$(az keyvault secret show --name "SLACK-WEBHOOK" --vault-name "${{ secrets.INFRA_KEY_VAULT}}" --query "value" -o tsv) + echo "::add-mask::$SECRET_VALUE" echo "SLACK-WEBHOOK=$SECRET_VALUE" >> $GITHUB_OUTPUT - name: Trigger Production Deployment