fix lining for gha

This commit is contained in:
Maidul Islam
2024-03-24 00:52:21 -04:00
parent 59b822510c
commit 2241908d0a

View File

@@ -72,13 +72,12 @@ jobs:
cd backend cd backend
npm install npm install
npm run migration:latest npm run migration:latest
- name: Configure AWS Credentials
- name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v4 with:
with: audience: sts.amazonaws.com
audience: sts.amazonaws.com aws-region: us-east-1
aws-region: us-east-1 role-to-assume: arn:aws:iam::135906656851:role/github-action-deploy-prod
role-to-assume: arn:aws:iam::135906656851:role/github-action-deploy-prod
- name: Save commit hashes for tag - name: Save commit hashes for tag
id: commit id: commit
uses: pr-mpt/actions-commit-hash@v2 uses: pr-mpt/actions-commit-hash@v2
@@ -121,12 +120,12 @@ jobs:
cd backend cd backend
npm install npm install
npm run migration:latest npm run migration:latest
- name: Configure AWS Credentials - name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4 uses: aws-actions/configure-aws-credentials@v4
with: with:
audience: sts.amazonaws.com audience: sts.amazonaws.com
aws-region: us-east-1 aws-region: us-east-1
role-to-assume: arn:aws:iam::135906656851:role/github-action-deploy-prod role-to-assume: arn:aws:iam::135906656851:role/github-action-deploy-prod
- name: Save commit hashes for tag - name: Save commit hashes for tag
id: commit id: commit
uses: pr-mpt/actions-commit-hash@v2 uses: pr-mpt/actions-commit-hash@v2