### Commit and Push Changes Source: https://github.com/digitalocean/sample-nextjs/blob/main/README.md After modifying the application code, you need to commit the changes to your Git repository and push them to trigger an automatic redeployment on DigitalOcean App Platform. ```shell git add . git commit -m "Update welcome message" git push origin main ``` -------------------------------- ### Modify Welcome Message in Next.js App Source: https://github.com/digitalocean/sample-nextjs/blob/main/README.md This snippet demonstrates how to edit a Next.js component file to change the application's greeting. After saving the changes and committing them to your repository, DigitalOcean App Platform will automatically redeploy the application. ```javascript pages/index.js // Original content might look like this: //

Welcome to Your Next.js App

// Replace with your custom greeting: //

Hello from DigitalOcean App Platform!

``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.