test deploy
This commit is contained in:
11
.github/workflows/deploy.yaml
vendored
11
.github/workflows/deploy.yaml
vendored
@@ -31,10 +31,19 @@ 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) }}
|
||||||
environment: ${{ inputs.environment }}
|
environment: ${{ inputs.environment }}
|
||||||
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 }}
|
||||||
Reference in New Issue
Block a user