Rollback an AWS Amplify deploy?

1.1k views Asked by At

I have pushed a broken change to my prod instance on AWS Amplify and I am attempting to rollback to a previous working deploy. I've reviewed this guide to attempt to solve the issue but it looks to be an older version of the AWS Amplify console. All help is greatly appreciated.

1

There are 1 answers

1
Dipak Bhise On
git reset --hard <stable commit number>
git push --force

It will push stable changes in github and will run aws amplify build and also maintain development branch for for broken or updated changes