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: sources/academy/platform/deploying_your_code/deploying.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: How to deploy your Actor
3
-
description: Push local code to the platform, or create a new Actor on the console and integrate it with a Git repo to optionally automatically rebuild any new changes.
3
+
description: Push local code to the platform, or create a new Actor on the console and integrate it with a Git repository to optionally automatically rebuild any new changes.
4
4
sidebar_position: 5
5
5
slug: /deploying-your-code/deploying
6
6
---
7
7
8
-
**Push local code to the platform, or create a new Actor on the console and integrate it with a Git repo to optionally automatically rebuild any new changes.**
8
+
**Push local code to the platform, or create a new Actor on the console and integrate it with a Git repository to optionally automatically rebuild any new changes.**
9
9
10
10
---
11
11
@@ -15,7 +15,7 @@ Once you've **actorified** your code, there are two ways to deploy it to the Api
15
15
16
16
Before we deploy our project onto the Apify platform, let's ensure that we've pushed the changes we made in the last 3 lessons into our remote GitHub repository.
17
17
18
-
> The benefit of using this method is that any time you push to the Git repo, the code on the platform is also updated and the Actor is automatically rebuilt. Also, you don't have to use a GitHub repository - you can use GitLab or any other service you'd like.
18
+
> The benefit of using this method is that any time you push to the Git repository, the code on the platform is also updated and the Actor is automatically rebuilt. Also, you don't have to use a GitHub repository - you can use GitLab or any other service you'd like.
19
19
20
20
### Creating the Actor
21
21
@@ -31,17 +31,17 @@ In the **Source** tab on the new Actor's page, we'll click the dropdown menu und
31
31
32
32
Now we'll paste the link to our GitHub repository into the **Git URL** text field and click **Save**.
33
33
34
-
### Adding the webhook to the repository {#adding-repo-webhook}
34
+
### Adding the webhook to the repository {#adding-repository-webhook}
35
35
36
36
The final step is to click on **API** in the top right corner of our Actor's page:
And scroll through all of the links until we find the **Build Actor** API endpoint. Now we'll copy this endpoint's URL, head back over to our GitHub repository and navigate to **Settings > Webhooks > Add webhook**. The final thing to do is to paste the URL and save the webhook.
41
41
42
-

42
+

43
43
44
-
That's it! The Actor should now pull its source code from the repo and automatically build.
44
+
That's it! The Actor should now pull its source code from the repository and automatically build.
45
45
46
46
## Without a GitHub repository (using the Apify CLI) {#with-apify-cli}
Copy file name to clipboardExpand all lines: sources/academy/platform/deploying_your_code/docker_file.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: How to create an Actor dockerfile
2
+
title: How to create an Actor Dockerfile
3
3
description: Understand how to write a Dockerfile (Docker image blueprint) for your project so that it can be run within a Docker container on the Apify platform.
0 commit comments