aws-amplify / aws-amplify/amplify-cli
How can I trigger a PR preview programatically
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
### Amplify CLI Version
latest
### Question
Firebase Hosting allows users to [create a Preview deployment through their CLI](https://firebase.google.com/docs/hosting/test-preview-deploy#preview-channels). They even have the option to [delete previews](https://firebase.google.com/docs/hosting/manage-hosting-resources#delete-preview-channel). Does the Amplify CLI have a similar feature?
A feature like this is critical when optimising CI/CD pipelines. If certain quality checks don't pass or other automation is not completed (for example if a PR is not ready for review) - we don't need to deploy a preview.
Contributor guide
Research direction
No implementation files, tests, or command entry points are identified in the issue. Start by tracing the Amplify CLI's deployment commands and CI/CD behavior, then determine the supported preview lifecycle and define completion criteria for creating and deleting previews programmatically.
Written by the indexing model from the issue text.
Assessment
- Domain
- ci-cd, cli, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100