action-netlify-deploy
action-netlify-deploy copied to clipboard
Add an optional base directory
This PR adds an optional base_directory
from which to execute all commands. This is useful for deploying apps that live in monorepos.
To test that this works, I:
- Forked this repository
-
Merged my changes into the
master
branch of my fork - Created a release including the changes
- Used the action as part of a workflow on a test repository
This PR also includes some formatting changes made by Prettier, although I can get rid of those if necessary!
I could really use this right now. working-directory
does not seem to work for building in a subdirectory.
Came here looking for this as well..
working-directory
does not seem to work for building in a subdirectory.
I tried this too, but it's only for GitHub Actions run
steps, so doesn't work here as we're with an action uses
. In this case we need it to be built into the action that is being used.