Covid-Self-report-Tool / cov-self-report-frontend

Frontend repository for COVID-19 self-reporting tool in React
https://www.covidselfreport.org
MIT License
10 stars 1 forks source link

šŸ› Bug -- Amplify Previews not working #69

Closed abettermap closed 4 years ago

abettermap commented 4 years ago

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:

image

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:

  1. Disconnecting/reconnecting GH to AWS
  2. Disconnecting all Previews and branches from Amplify (will not be doing that again as it required re-adding all the ENV master overrides)
  3. Removing GH AWS SSH key
  4. Removing GH AWS webhook
  5. 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.

abettermap commented 4 years ago

71 showed no Checks. Iā€™m throwing in the Amplify Previews towel in favor of gh Actions šŸ˜¤