CA
correct-apricot
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:
5 Replies
@shovelandsandbox just advanced to level 2! Thanks for your contributions! ๐
correct-apricotOPโข2y ago
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 @shovelandsandbox , 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.
correct-apricotOPโข2y ago
Okay great, @Pepa J โ thank you for the heads up. ๐
Is there a best channel to follow / watch for monorepo-specific bugs being addressed?
@shovelandsandbox 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
GitHub
Issues ยท apify/actor-monorepo-example
An example repository with multiple Apify Actors sharing code between each other. - Issues ยท apify/actor-monorepo-example