Skip to content

MPDX 8403 - Fix email exports to export the correct emails #240

MPDX 8403 - Fix email exports to export the correct emails

MPDX 8403 - Fix email exports to export the correct emails #240

Workflow file for this run

name: Amplify Preview
on:
pull_request:
types: [labeled]
jobs:
deploy:
if: contains(github.event.label.name, 'Preview Environment')
runs-on: ubuntu-latest
continue-on-error: true
permissions:
id-token: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- name: configure AWS credentials
id: creds
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: ${{ secrets.AWS_GITHUB_ACTIONS_ROLE }}
output-credentials: true
- name: deploy PR preview
uses: CruGlobal/amplify-preview-actions@handle-existing-branches
with:
branch_name: ${{ github.head_ref }}
amplify_command: deploy
env:
AWS_ACCESS_KEY_ID: ${{ steps.creds.outputs.aws-access-key-id }}
AWS_SECRET_ACCESS_KEY: ${{ steps.creds.outputs.aws-secret-access-key }}
AmplifyAppId: ${{ secrets.AMPLIFY_APP_ID }}
AWS_REGION: 'us-east-1'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EnvironmentVariables: 'SITE_URL=https://${{ github.head_ref }}.${{ secrets.AMPLIFY_APP_ID }}.amplifyapp.com'