action-netlify-deploy icon indicating copy to clipboard operation
action-netlify-deploy copied to clipboard

Add an optional base directory

Open AlbertoPdRF opened this issue 4 years ago • 3 comments

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:

  1. Forked this repository
  2. Merged my changes into the master branch of my fork
  3. Created a release including the changes
  4. 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!

AlbertoPdRF avatar Aug 12 '20 12:08 AlbertoPdRF

I could really use this right now. working-directory does not seem to work for building in a subdirectory.

perelin avatar Apr 13 '22 12:04 perelin

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.

ewels avatar Mar 20 '23 23:03 ewels