actions-hub / gcloud

GitHub Action for interacting with Google Cloud Platform (GCP)
https://github.com/marketplace/actions/google-cloud-platform-gcp-cli-gcloud
MIT License
230 stars 27 forks source link

Change wroking directory for deployment #18

Closed SirCameron closed 4 years ago

SirCameron commented 4 years ago

Hi

I'm setting up github actions to deploy some functions to gcloud. The project was build in a weird way, meaning functions were in different directories as if they were separate projects.

How can I set the working directory to be used when calling the gcloud CLI? I see there is a parameter called entryPoint, but there is no documentation about this. I've also tried using PROJECT_PATH environment variable with no success (saw this suggested for the firebase cli).

thanks!

SirCameron commented 4 years ago

Figured it out... adding --source=[path] to the args does it.