Skip to content

Commit 6b570d5

Browse files
committed
resize images and update intro to custom 1-click
1 parent 444e0cb commit 6b570d5

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

docs/tutorials/adding-custom-one-click-deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { URLProvider, URLEncode } from "../../src/components/OneClick";
1010

1111
# Adding Custom 1-Click Deploy to Your App
1212

13-
This tutorial will show you how to add a 1-Click Deploy link to deploy your app to the Defang Playground so that other people can easily deploy your app.
13+
This tutorial will show you how to add a 1-Click Deploy link so other people can easily deploy your app to the Defang Playground and eventually to their own cloud accounts.
1414

1515
The link is often placed as a button in the `README.md` file of your project repository, and is the easiest way to allow anyone to deploy your app.
1616

docs/tutorials/using-one-click-deploy.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ To access the full range of features provided by Defang, we recommend using the
1717
## Step 1 - Choose a Sample
1818
Head to our [list of samples](https://defang.io/#samples) and click a sample you want to deploy. Then, click on the button that says "1-Click Deploy".
1919

20-
![one-click-deploy-button](/img/use-one-click-tutorial/one-click-deploy-button.png)
20+
<img src="/img/use-one-click-tutorial/one-click-deploy-button.png" alt="one-click-deploy-button" width="500"/>
21+
<br/>
2122

2223
:::info
2324
Alternatively, you can find the "1-Click Deploy" button located in the `README.md` file of each sample's GitHub repository.
2425

25-
![deploy-with-defang-button](/img/use-one-click-tutorial/deploy-with-defang-button.png)
26+
<img src="/img/use-one-click-tutorial/deploy-with-defang-button.png" alt="deploy-with-defang-button" width="400"/>
27+
<br/>
2628
:::
2729

2830
## Step 2 - Login
@@ -32,20 +34,24 @@ For 1-click deployments to work, Defang has to have your permission, which you c
3234
![login-screen](/img/use-one-click-tutorial/login-screen.png)
3335

3436

35-
## Step 2 - Create Your Repo
37+
## Step 3 - Create Your Repo
3638

3739
Onced logged in, you'll be redirected to GitHub. Click the "Create repository button" to create a new repository with the sample project.
3840

39-
![create-repository](/img/use-one-click-tutorial/create-repository.png)
41+
<img src="/img/use-one-click-tutorial/create-repository.png" alt="create-repository" width="600"/>
42+
<br/>
4043

4144

42-
## Step 3 - Wait for Deployment to Complete
45+
## Step 4 - Wait for Deployment to Complete
4346

4447
A Github Action workflow will automatically start running to install Defang and deploy the sample to the Defang Playground. You can see this by going into the "Actions" tab in your GitHub repository.
4548

4649
You can view the status of your deployment in the [Defang Portal](https://portal.defang.dev/), or by downloading the [Defang CLI](/docs/getting-started). You can also see deployment progress in the "Actions" tab of your GitHub repository:
4750

48-
![github-actions-tab](/img/use-one-click-tutorial/actions.png)
51+
<img src="/img/use-one-click-tutorial/actions.png" alt="github-actions-tab" width="400"/>
52+
53+
<br/>
54+
<br/>
4955

5056
:::tip
5157
If you decide to make a commit later to a repository created from 1-Click Deploy, then the project will automatically get deployed again to Defang Playground.

0 commit comments

Comments
 (0)