You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/adding-custom-one-click-deploy.md
+5-20Lines changed: 5 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,19 +12,6 @@ This tutorial will show you how to add a custom Defang 1-Click Deploy button to
12
12
This page focuses on adding 1-Click Deploy to any app that is not from [our list of samples](https://defang.io/#samples). We have a separate tutorial on [how to use 1-Click Deploy](/docs/tutorials/using-one-click-deploy) for Defang's pre-made samples, which is meant for new users.
13
13
:::
14
14
15
-
<!--
16
-
0. have a project ready,
17
-
1. get the deploy.yaml action (and set configs as needed)
18
-
2. get the compose.yaml for project and put in root folder
19
-
3. click "template repo" in settings github
20
-
4. get the url (encoded version) of this template repo ready for making a new 1-click deployment instance
this goes thru portal in order for the person deploying to get logged into defang
23
-
https://www.urlencoder.io/ can use this encoder
24
-
5. paste it into the readme/button
25
-
-->
26
-
27
-
28
15
## Step 1 - Have an App Ready
29
16
30
17
The button we will be creating in this tutorial will allow any user to deploy your app to their Defang account. If your app is ready to be deployed with Defang (i.e. has a valid `compose.yaml` file), you can skip this step.
@@ -87,26 +74,26 @@ jobs:
87
74
88
75
## Step 3 - Use a Template GitHub Repository
89
76
90
-
You have the option of using Defang's template repo or your own template GitHub Repo for this step. There is no difference in end result, but it may be easier to use Defang's template repo so that you do not have to create your own.
77
+
You have the option of using Defang's template repo or your own template GitHub repo for this step. There is no difference in end result, but it may be easier to use Defang's template repo so that you do not have to create your own.
91
78
92
79
### Option 1 - Use an Existing Template Repo
93
80
94
-
1. Click the link to [Defang's 1-Click Template Repo](https://github.com/DefangLabs/1-click-template), or open an existing template repo if you have one.
81
+
1. Click the link to [Defang's 1-Click template repo](https://github.com/DefangLabs/1-click-template), or open an existing template repo if you have one.
95
82
2. Click the dropdown menu next to the green "Use this template" button near the top right corner, then click "Create a new repository":
4. You will be taken to a page similar to the one shown below. Then, enter a name for your repository and click the green "Create repository" button at the bottom.
86
+
3. You will be taken to a page similar to the one shown below. Then, enter a name for your repository and click the green "Create repository" button at the bottom.
0 commit comments