Skip to main content
Version: Next

VersionSourceFiles

An Actor version whose source code is stored on the Apify platform.

Hierarchy

  • BaseVersion<`${ActorSourceType.SourceFiles}`>
    • VersionSourceFiles

Added in 2.6.1

Index

Properties

optionalinheritedactorPath

actorPath?: null | string
actors/typescript-actor

The Actor's directory inside the uploaded source, as a path relative to the upload root with / separators, for example actors/typescript-actor. Applies when the sourceType is SOURCE_FILES or TARBALL. When absent or null, the upload root is the Actor's directory. On a TARBALL version, only users with write access to the Actor get it. It has 1 to 255 characters, with no leading, trailing, or repeated / and no . or .. segments.

optionalinheritedapplyEnvVarsToBuild

applyEnvVarsToBuild?: null | boolean
false

Whether to inject the environment variables at build time.

optionalinheritedbitbucketWebhookId

bitbucketWebhookId?: null | string

ID of the Bitbucket webhook that triggers a build on push. Present when build on push is enabled for a Bitbucket repository.

optionalinheritedbuildTag

buildTag?: null | string
latest

The tag name to apply to a successful build of this version. Can be null when the version has no build tag.

optionalinheritedenvVars

envVars?: null | EnvVar[]

optionalinheritedgithubWebhookId

githubWebhookId?: null | number

ID of the GitHub webhook that triggers a build on push. Present when build on push is enabled for a GitHub repository.

optionalinheritedgitlabWebhookId

gitlabWebhookId?: null | number

ID of the GitLab webhook that triggers a build on push. Present when build on push is enabled for a GitLab repository.

sourceFiles

sourceFiles: (SourceCodeFile | SourceCodeFolder)[]

inheritedsourceType

sourceType: SOURCE_FILES

inheritedversionNumber

versionNumber: string
0.0

The version number of the Actor. Two numbers separated by a dot, that represent the MAJOR.MINOR part of the semantic versioning.