This commit is contained in:
2025-09-05 16:28:28 +03:00
parent 71c68f7533
commit 070fa3c928

View File

@@ -30,18 +30,6 @@ jobs:
CR_REPO: ${{ github.event.repository.name }}
TAG: ${{ inputs.tag }}
steps:
- name: Map environment variable
id: map_env
run: |
declare -A env_map=(
["prod"]="yc-transcoder"
["stage"]="stage"
)
mapped_env=${env_map[${{ inputs.environment }}]}
if [ -z "$mapped_env" ]; then
mapped_env="${{ inputs.environment }}"
fi
echo "mapped_environment=$mapped_env" >> $GITHUB_OUTPUT
- name: deploy k8s
uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/k8s@HEAD
with: