Skip to content

Commit

Permalink
Fix pre-production deployment (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Sep 15, 2023
1 parent a1fa554 commit 4ae1b02
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/deploy-preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
ui_docker_image:
type: string
required: true
outputs:
api_url:
value: ${{ jobs.deploy.outputs.api_url }}
workflow_dispatch:

concurrency: deploy_preprod
Expand All @@ -25,30 +22,6 @@ jobs:
uses: ./.github/workflows/package.yml
secrets: inherit

deploy:
name: Deploy to PAAS
needs: package
if: always() && (needs.package.result == 'success' || needs.package.result == 'skipped')
runs-on: ubuntu-latest

outputs:
api_url: ${{ steps.deploy.outputs.api_url }}

environment:
name: pre-production

steps:
- uses: actions/checkout@v4

- uses: ./.github/workflows/actions/deploy-paas-environment
id: deploy
with:
environment_name: pre-production
api_docker_image: ${{ inputs.api_docker_image || needs.package.outputs.api_docker_image }}
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
terraform_vars: pre-production.tfvars.json
terraform_backend_vars: pre-production.backend.tfvars

deploy_aks:
name: Deploy to AKS
needs: package
Expand Down

0 comments on commit 4ae1b02

Please sign in to comment.