Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'apify push' doesn't work if .actor directory is in .gitignore #706

Open
metalwarrior665 opened this issue Nov 27, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working. t-tooling Issues with this label are in the ownership of the tooling team.

Comments

@metalwarrior665
Copy link
Member

Our use-case is that we want to use top-level.actor only for local testing but not pollute production code with it. For some reason the CLI seems to rely on Git?

If I have .actor in .gitignore, apify push gives A valid Actor could not be found in the current directory. Please make sure you are in the correct directory. You can also turn this directory into an Actor by running apify init.

If I remove it from .gitignore, it works fine.

I find it not intuitive that Git should affect how CLI treats my local files so it is probably a bug?

@metalwarrior665 metalwarrior665 added the bug Something isn't working. label Nov 27, 2024
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

No branches or pull requests

2 participants