Should automatically create a new deploy URL for every PR.
How to reproduce the problem
Create a PR. No deploy/check.
Evidence
Screenshots
This is the last PR that it worked on:
Resolution
I traced it down to me doing the git-rev-parse and force-pushing. Yep turns out Amplify did not like the complete history rewrite of 400+ commits...
So far I've tried:
Disconnecting/reconnecting GH to AWS
Disconnecting all Previews and branches from Amplify (will not be doing that again as it required re-adding all the ENV master overrides)
Removing GH AWS SSH key
Removing GH AWS webhook
Re-enabling Previews
If none of this works I'm going to give up on AWS Previews and resort to GitHub Actions instead. Should probably do this anyway so we can build on every push rather than just PRs. Sometimes it's useful for testing, and it's annoying to create a PR just for the sake of Preview.
Basics
Bug description
AWS Amplify GitHub Previews stopped working.
Expected behavior
Should automatically create a new deploy URL for every PR.
How to reproduce the problem
Create a PR. No deploy/check.
Evidence
Screenshots
This is the last PR that it worked on:
Resolution
I traced it down to me doing the
git-rev-parse
and force-pushing. Yep turns out Amplify did not like the complete history rewrite of 400+ commits...So far I've tried:
master
overrides)If none of this works I'm going to give up on AWS Previews and resort to GitHub Actions instead. Should probably do this anyway so we can build on every push rather than just PRs. Sometimes it's useful for testing, and it's annoying to create a PR just for the sake of Preview.