Apify and Crawlee Official Forum

Updated 3 months ago

Example monorepo repository + CLI for deployments

The example monorepo (seen here: https://github.com/apify/actor-monorepo-example) doesn't cover how apify push is intended to be used – the only place you're able to use it is from the root of the repository, but doing it there shows the following in console:

Plain Text
apify push
Info: Created actor with name undefined on Apify.
Info: Deploying actor 'undefined' to Apify.
Run: Updated version 0.0 for my-actor-5 actor.
Run: Building actor my-actor-5
A
s
P
8 comments
just advanced to level 2! Thanks for your contributions! πŸŽ‰
is my-actor-5 a randomly generated name for the actor? And which actor / source is it pushing up to the platform?
I'd like for it to push up to my existing thesandbox/playstation-store actor (ID 2dA3K1R8bghweB2P2) – the corresponding source I'd like to be executed at that actor is in actors/playstation-store, and my actor's source is configured properly for using a monorepo. (branch is set, git url is correct, folder is set to actors/playstation-store
ooo, unless I shouldn't be using push from the CLI at all if I'm using github for an actor's source...
Hi , we are currently aware of this issue with apify-cli push not working with monorepos.
However you should not run into issues with building the actor from git repository.
Okay great, – thank you for the heads up. πŸ™‚
Is there a best channel to follow / watch for monorepo-specific bugs being addressed?
You may try to search for keyword "monorepo" here on discord, or I suggest you to keep eye on https://github.com/apify/actor-monorepo-example/issues
Add a reply
Sign up and join the conversation on Discord