revert
This commit is contained in:
12
.github/workflows/deploy.yaml
vendored
12
.github/workflows/deploy.yaml
vendored
@@ -30,18 +30,6 @@ jobs:
|
|||||||
CR_REPO: ${{ github.event.repository.name }}
|
CR_REPO: ${{ github.event.repository.name }}
|
||||||
TAG: ${{ inputs.tag }}
|
TAG: ${{ inputs.tag }}
|
||||||
steps:
|
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
|
- name: deploy k8s
|
||||||
uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/k8s@HEAD
|
uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/k8s@HEAD
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user