From 645695067f3ece817c0d30734ecdefedd67c07a0 Mon Sep 17 00:00:00 2001 From: Nikita Andriyanov Date: Sat, 19 Apr 2025 15:36:58 +0300 Subject: [PATCH] test deploy --- .github/workflows/deploy.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 40004a1..330dd60 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -31,10 +31,19 @@ jobs: TAG: ${{ inputs.tag }} steps: - name: deploy + if: inputs.environment == 'prod' uses: https://bb.hublab.ru/HUB/workflows/.gitea/actions/deploy@HEAD with: secrets: ${{ toJSON(secrets) }} environment: ${{ inputs.environment }} tag: ${{ inputs.tag }} migrate: ${{ inputs.migrate }} - host: ${{ inputs.host }} \ No newline at end of file + 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 }} \ No newline at end of file