Skip to content

Commit

Permalink
Add manual deploy to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
johnake committed Sep 11, 2024
1 parent 5677be6 commit b6f68e8
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
type: string
required: true

workflow_dispatch:
inputs:
docker_image:
required: true
type: string

concurrency: deploy_dev
jobs:
deploy_aks:
Expand All @@ -25,4 +31,3 @@ jobs:
environment_name: dev
docker_image: ${{ inputs.docker_image }}
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}

5 changes: 5 additions & 0 deletions .github/workflows/deploy-preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ on:
docker_image:
type: string
required: true

workflow_dispatch:
inputs:
docker_image:
required: true
type: string

concurrency: deploy_preprod
jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
type: string
required: true

workflow_dispatch:
inputs:
docker_image:
required: true
type: string

concurrency: deploy_prod
jobs:
deploy_aks:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
type: string
required: true

workflow_dispatch:
inputs:
docker_image:
required: true
type: string

concurrency: deploy_test
jobs:
deploy_aks:
Expand All @@ -25,4 +31,3 @@ jobs:
environment_name: test
docker_image: ${{ inputs.docker_image }}
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}

0 comments on commit b6f68e8

Please sign in to comment.