Skip to content

docs(apify-actor-development): create .actorignore after scaffolding#67

Draft
DaveHanns wants to merge 1 commit into
apify:mainfrom
DaveHanns:docs/skill-migration-0-actorignore-gap
Draft

docs(apify-actor-development): create .actorignore after scaffolding#67
DaveHanns wants to merge 1 commit into
apify:mainfrom
DaveHanns:docs/skill-migration-0-actorignore-gap

Conversation

@DaveHanns

Copy link
Copy Markdown

Rationale

Apify templates (ts_empty, project_empty, python-empty) do not ship a .actorignore file, yet apify push honors one if present. Without it, every push uploads node_modules/, dist/, .git/, and other build caches — bloating uploads and shipping local artifacts that the multi-stage Dockerfile regenerates anyway.

This adds a short subsection under ## Template selection telling the agent to create .actorignore immediately after scaffolding, with a minimal starter set.

Added content preview

Create .actorignore after scaffolding

Apify templates (including ts_empty, project_empty, python-empty) do not include a .actorignore file, even though apify push honors one if present. Without it, every apify push uploads node_modules/, dist/, build caches, .git/, and anything else in the working tree — bloating the upload and shipping local build artifacts the multi-stage Dockerfile regenerates anyway.

Create .actorignore at the project root with at minimum:

node_modules
dist
.git
.env*
*.log
coverage
.DS_Store

Syntax is .gitignore-style.

Surfaced during an evaluation of Apify surfaces for agent-driven Actor development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants