Amplify Github App posts empty preview link on the PR even if deployment was skipped because of AMPLIFY_DIFF_DEPLOY
#3959
Labels
feature-request
New feature or request
Before opening, please confirm:
Amplify Hosting feature
Deployments, Frontend builds, Git providers, Web previews
Is your feature request related to a problem? Please describe:
We are using Amplify Hosting with a connected GitHub provider.
When using Amplify Hosting with GitHub Pull Request previews, and when
AMPLIFY_DIFF_DEPLOY
is enabled, deployments are skipped as expected if no changes are detected. However, the GitHub Amplify App still posts a preview URL in Pull Request comments. This URL leads to a 404 error (or the Amplify welcome page) because nothing was deployed.Describe how you'd like this feature to work
Amplify PR Preview URL should be posted only if deployment happened.
The text was updated successfully, but these errors were encountered: