Deploy A Gatsby Site to the Amplify Console With One Click
Nader Dabit
Posted on April 10, 2019
We recently released the Deploy to Amplify Console Button.
You can add this button to your GitHub README.md file, blog post, or any other markup page that renders HTML to allow developers to deploy their application to the Amplify Console with 1 click.
Try it out below to launch the Gatsby Starter Blog 👇.
It basically works like this:
You create a link that has the following URL structure:
https://console.aws.amazon.com/amplify/home#/deploy?repo=https://github.com/username/repository
You can then wrap it in the button in markdown like this:
[![amplifybutton](https://oneclick.amplifyapp.com/button.svg)](https://console.aws.amazon.com/amplify/home#/deploy?repo=https://github.com/username/repository)
What happens when an app is deployed in this way?
- Fork the repo into your GitHub account
- Create your Amplify Console app
- Kick off your build
Once the app is launched, you are given a live URL.
To kick off a new build, clone the app, make changes locally, & merge the changes into master.
If the app being launched has an Amplify backend attached, you wil have the option to deploy the backend as well.
To learn more about the Amplify Console, see the documentation here.
My Name is Nader Dabit. I am a Developer Advocate at Amazon Web Services working with projects like AWS AppSync and AWS Amplify. I specialize in cross-platform & cloud-enabled application development.
Posted on April 10, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.