Skip to content

Commit

Permalink
chore(ECO-266): Update chrnorm/deployment-action & chrnorm/deployment…
Browse files Browse the repository at this point in the history
…-status
  • Loading branch information
jpshilton-op committed Aug 29, 2023
1 parent 2e67a34 commit 8a25935
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/helm-deploy-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ jobs:
aws eks --region ${{ secrets.aws_default_region }} \
update-kubeconfig --name ${{ secrets.clustername }}
- name: Create GitHub deployment
uses: chrnorm/deployment-action@releases/v1
uses: chrnorm/deployment-action@v2
id: deployment
with:
token: "${{ github.token }}"
target_url: "${{ inputs.target_url }}"
environment-url: "${{ inputs.target_url }}"
environment: ${{ inputs.deploy_env }}
- name: Form helm command
run: |
Expand All @@ -109,17 +109,17 @@ jobs:
$HELM_CMD
- name: Update deployment status (success)
if: success()
uses: chrnorm/deployment-status@releases/v1
uses: chrnorm/deployment-status@v2
with:
token: "${{ github.token }}"
target_url: "${{ inputs.target_url }}"
environment-url: "${{ inputs.target_url }}"
state: "success"
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
- name: Update deployment status (failure)
if: failure()
uses: chrnorm/deployment-status@releases/v1
uses: chrnorm/deployment-status@v2
with:
token: "${{ github.token }}"
target_url: "${{ inputs.target_url }}"
environment-url: "${{ inputs.target_url }}"
state: "failure"
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
deployment-id: ${{ steps.deployment.outputs.deployment_id }}

0 comments on commit 8a25935

Please sign in to comment.