Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update deployment-pipeline.yml

Maidul Islam56567ee7c93a
diff --git a/.github/workflows/deployment-pipeline.yml b/.github/workflows/deployment-pipeline.yml
index 15ca385507..f87476ed03 100644
--- a/.github/workflows/deployment-pipeline.yml
+++ b/.github/workflows/deployment-pipeline.yml
@@ -170,6 +170,12 @@ jobs:
- uses: twingate/github-action@v1
with:
service-key: ${{ secrets.TWINGATE_SERVICE_KEY }}
+ - name: Configure AWS Credentials
+ uses: aws-actions/configure-aws-credentials@v4
+ with:
+ audience: sts.eu-central-1.amazonaws.com
+ aws-region: eu-central-1
+ role-to-assume: arn:aws:iam::345594589636:role/gha-make-prod-deployment
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js environment
@@ -183,12 +189,6 @@ jobs:
cd backend
npm install
npm run migration:latest
- - name: Configure AWS Credentials
- uses: aws-actions/configure-aws-credentials@v4
- with:
- audience: sts.eu-central-1.amazonaws.com
- aws-region: eu-central-1
- role-to-assume: arn:aws:iam::345594589636:role/gha-make-prod-deployment
- name: Save commit hashes for tag
id: commit
uses: pr-mpt/actions-commit-hash@v2