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
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,11 @@
1
1
---
2
-
title: Deploying
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.
2
+
title: Publishing your Actor
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
-
# Deploying {#deploying}
9
-
10
-
**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.**
11
9
12
10
---
13
11
@@ -17,7 +15,7 @@ Once you've **actorified** your code, there are two ways to deploy it to the Api
17
15
18
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.
19
17
20
-
> 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.
21
19
22
20
### Creating the Actor
23
21
@@ -33,17 +31,17 @@ In the **Source** tab on the new Actor's page, we'll click the dropdown menu und
33
31
34
32
Now we'll paste the link to our GitHub repository into the **Git URL** text field and click **Save**.
35
33
36
-
### Adding the webhook to the repository {#adding-repo-webhook}
34
+
### Adding the webhook to the repository {#adding-repository-webhook}
37
35
38
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.
43
41
44
-

42
+

45
43
46
-
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.
47
45
48
46
## Without a GitHub repository (using the Apify CLI) {#with-apify-cli}
49
47
@@ -57,7 +55,7 @@ One important thing to note is that you can use a `.gitignore` file to exclude f
57
55
58
56
## Deployed! {#deployed}
59
57
60
-
Great! Once you've pushed your Actor to the platform, you should see it in the list of Actors under the **Actors** tab. If you used`apify push`, you'll have access to the **multifile editor** (discussed [here](../getting_started/creating_actors.md)).
58
+
Great! Once you've pushed your Actor to the platform, you will find it listed under the **Actors** tab. When using the`apify push` command, you will have access to the multifile editor. For details about using the multifile editor, refer to [Creating Actors](/academy/getting-started/creating-actors#web-ide).
61
59
62
60

Copy file name to clipboardExpand all lines: sources/academy/platform/deploying_your_code/docker_file.md
+2-4Lines changed: 2 additions & 4 deletions
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: Dockerfile
2
+
title: Creating 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.
**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.**
14
12
15
13
---
@@ -20,7 +18,7 @@ The **Dockerfile** is a file which gives the Apify platform (or Docker, more spe
20
18
21
19
## Base images {#base-images}
22
20
23
-
If your project doesn’t already contain a Dockerfile, don’t worry! Apify offers [many base images](/sdk/js/docs/guides/docker-images) that are optimized for building and running Actors on the platform, which can be found [here](https://hub.docker.com/u/apify). When using a language for which Apify doesn't provide a base image, [Docker Hub](https://hub.docker.com/) provides a ton of free Docker images for most use-cases, upon which you can create your own images.
21
+
If your project doesn’t already contain a Dockerfile, don’t worry! Apify offers [many base images](/sdk/js/docs/guides/docker-images) that are optimized for building and running Actors on the platform, which can be found on [Docker Hub](https://hub.docker.com/u/apify). When using a language for which Apify doesn't provide a base image, [Docker Hub](https://hub.docker.com/) provides a ton of free Docker images for most use-cases, upon which you can create your own images.
24
22
25
23
> Tip: You can see all of Apify's Docker images [on DockerHub](https://hub.docker.com/u/apify).
Copy file name to clipboardExpand all lines: sources/academy/platform/deploying_your_code/inputs_outputs.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,10 @@
1
1
---
2
-
title: Inputs & outputs
2
+
title: Managing Actor inputs and outputs
3
3
description: Learn to accept input into your Actor, do something with it, and then return output. Actors can be written in any language, so this concept is language agnostic.
4
4
sidebar_position: 1
5
5
slug: /deploying-your-code/inputs-outputs
6
6
---
7
7
8
-
# Inputs & outputs {#inputs-outputs}
9
-
10
8
**Learn to accept input into your Actor, do something with it, and then return output. Actors can be written in any language, so this concept is language agnostic.**
0 commit comments