MPDX-9227 - Don't render back and next buttons on Receipt step #731
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@v4 | |
| - 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@sed-replace-all | |
| 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' |