Skip to content

Commit

Permalink
HEAT-227: Updated pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
KalyanaVadlamani committed Mar 27, 2024
1 parent c12df97 commit 5a34035
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Deploy to Dev
uses: ./.github/actions/cloud-platform-deploy
with:
environment: ${{ inputs.environment }}
version: ${{ inputs.version }}
api: https://${{ secrets.DEVELOPMENT_KUBE_CLUSTER }}
cert: ${{ secrets.DEVELOPMENT_KUBE_CERT }}
cluster: ${{ secrets.DEVELOPMENT_KUBE_CLUSTER }}
namespace: ${{ secrets.DEVELOPMENT_KUBE_NAMESPACE }}
token: ${{ secrets.DEVELOPMENT_KUBE_TOKEN }}
# - name: Deploy to Dev
# uses: ./.github/actions/cloud-platform-deploy
# with:
# environment: ${{ inputs.environment }}
# version: ${{ inputs.version }}
# api: https://${{ secrets.DEVELOPMENT_KUBE_CLUSTER }}
# cert: ${{ secrets.DEVELOPMENT_KUBE_CERT }}
# cluster: ${{ secrets.DEVELOPMENT_KUBE_CLUSTER }}
# namespace: ${{ secrets.DEVELOPMENT_KUBE_NAMESPACE }}
# token: ${{ secrets.DEVELOPMENT_KUBE_TOKEN }}

- name: Deploy to Prod
uses: ./.github/actions/cloud-platform-deploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ jobs:
with:
github_environment: production
environment: prod
# version: ${{ needs.build.outputs.version }}
version: ${{ github.event.inputs.version }}
secrets: inherit

0 comments on commit 5a34035

Please sign in to comment.