Those values can be used then to compose copy-pastable command to fetch deployment logs (like aws amplify get-job --app-id <APP_ID> --branch-name <BRANCH_NAME> --job-id <JOB_ID> and printed in case of error:
- https://github.com/gravitational/teleport/pull/48512#issuecomment-2557357755
Summary
Following improvements for
amplift-previewcan be implemented:Make
retries-countconfigurableshared-workflows/tools/amplify-preview/main.go
Lines 46 to 49 in b37f702
Set relevant outputs to
GITHUB_OUTPUT:Those values can be used then to compose copy-pastable command to fetch deployment logs (like
aws amplify get-job --app-id <APP_ID> --branch-name <BRANCH_NAME> --job-id <JOB_ID>and printed in case of error:Report failure if
retries-countreachedCancel all pending jobs when submitting new one
Delete Amplify branches/previews when PR is closed branch is not deleted, to reduce number of "abandoned" previes that count towards limit.