Fix trigger ci creds (#1510)

This commit is contained in:
Siddharth Ganesan
2025-09-30 14:03:38 -07:00
committed by GitHub
parent 9f6cb1becf
commit cdfee16b8a

View File

@@ -37,8 +37,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: us-east-1
role-to-assume: ${{ github.ref == 'refs/heads/main' && secrets.AWS_ROLE_TO_ASSUME || secrets.STAGING_AWS_ROLE_TO_ASSUME }}
aws-region: ${{ github.ref == 'refs/heads/main' && secrets.AWS_REGION || secrets.STAGING_AWS_REGION }}
- name: Deploy to Trigger.dev (Staging)
if: github.ref == 'refs/heads/staging'