Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
abbas-khan10 committed Sep 16, 2024
1 parent a99eec8 commit 6d9b15d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/base-deploy-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,23 @@ jobs:
working-directory: app

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
repository: 'nhsconnect/national-document-repository'
ref: ${{ inputs.build_branch }}
fetch-depth: '0'

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
aws-region: ${{ vars.AWS_REGION }}

mask-aws-account-id: true

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
uses: aws-actions/amazon-ecr-login@v2

- uses: dkershner6/aws-ssm-getparameters-action@v1
with:
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
image: ${{ steps.build-image.outputs.image }}

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
uses: aws-actions/amazon-ecs-deploy-task-definition@v2
with:
task-definition: ./app/task-definition.json
service: ${{ inputs.sandbox }}-ecs-cluster-service
Expand Down

0 comments on commit 6d9b15d

Please sign in to comment.