apify.startActorBuild starts a build for one Apify Actor version.
Example
automations/apify-start-actor-build.automation.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Starts a build for one Apify Actor version.
apify.startActorBuild starts a build for one Apify Actor version.
import { automation, onHttpRequest } from "automate.ax"
import { apify } from "automate.ax/apify"
export default automation("Start Actor build", () => {
onHttpRequest({ scope: "automation" })
apify.startActorBuild({
actorId: "actor-id",
versionNumber: "1.0",
tag: "latest",
useCache: true,
})
})
| Field | Type | Required | Description |
|---|---|---|---|
actorId | string | Yes | Actor ID or username/name reference. |
versionNumber | string | Yes | Actor version to build. |
tag | string | No | Tag assigned to a successful build. |
useCache | boolean | No | Reuse cached Docker layers. |
betaPackages | boolean | No | Use Apify beta packages. |