test deploy

This commit is contained in:
2025-04-19 15:36:58 +03:00
parent 9f879b586e
commit 645695067f

View File

@@ -31,6 +31,7 @@ jobs:
TAG: ${{ inputs.tag }} TAG: ${{ inputs.tag }}
steps: steps:
- name: deploy - name: deploy
if: inputs.environment == 'prod'
uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/deploy@HEAD uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/deploy@HEAD
with: with:
secrets: ${{ toJSON(secrets) }} secrets: ${{ toJSON(secrets) }}
@@ -38,3 +39,11 @@ jobs:
tag: ${{ inputs.tag }} tag: ${{ inputs.tag }}
migrate: ${{ inputs.migrate }} migrate: ${{ inputs.migrate }}
host: ${{ inputs.host }} host: ${{ inputs.host }}
- name: deploy k8s
if: inputs.environment == 'stage'
uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/k8s@HEAD
with:
secrets: ${{ toJSON(secrets) }}
environment: ${{ inputs.environment }}
tag: ${{ inputs.tag }}
migrate: ${{ inputs.migrate }}