Skip to content

Instantly share code, notes, and snippets.

@josefaidt
Created April 4, 2022 16:51
Show Gist options
  • Save josefaidt/be56f2a8a821b084b66e40ce51e20b44 to your computer and use it in GitHub Desktop.
Save josefaidt/be56f2a8a821b084b66e40ce51e20b44 to your computer and use it in GitHub Desktop.
  1. navigate to the s3 console and identify the deployment bucket for our app
  2. download #current-cloud-backend.zip
  3. unzip the contents, correct the GraphQL Schema, and re-zip the folder
    1. be sure to not accidentally zip as a nested folder
    2. unzip "#current-cloud-backend.zip" -d "#current-cloud-backend"
    3. mv "#current-cloud-backend.zip" backup.zip
    4. correct the schema
    5. cd "#current-cloud-backend"; zip -r "../#current-cloud-backend.zip" *
  4. re-upload the newly zipped archive to our s3 deployment bucket
  5. push from local machine with amplify push --force
  6. observe successful push 🙌
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment