To create a one-click deploy button that deploys an application to Webflow Cloud, pass the URL of the GitHub repository as the repo parameter, as in this example: https://webflow.com/dashboard/cloud/deploy?repo=https://github.com/Webflow-Examples/hello-world-nextjs.
For example, here is a Markdown link that you can add to a repository’s readme file to make it easy to deploy the app to Webflow Cloud:
Here is an HTML link example:
You can link directly to a specific branch and folder within the repository.
For example, if the application is in an app folder and you want to deploy the staging branch of the repository, pass the GitHub URL ending in /tree/staging/app.
Enter your GitHub repository URL to generate one-click deploy button code. To target a specific branch or folder, paste the GitHub URL ending in /tree/<branch>/<folder>; the generator shows the parsed branch and path below the URL.