<#19631 Custom runnable command> New discussion cr...
# github-notifications
c
#19631 Custom runnable command New discussion created by mdelmans Hi ! I want to use pants to 1. Build documentation using a python script 2. Publish generated documentation using firebase I tried the following build
Copy code
python_source(
	name="generate",
	source="generate.py",
	dependencies=[
		...
	]
)

run_shell_command(
	name="publish",
	command="firebase deploy --only hosting",
	runnable_dependencies=[":generate"]
)
Which doesn't seem to work ,
pants run /path/to/build:publish
does not execute
:generate
. Would appreciate if someone can explain what I am doing wrong. Thank you ! pantsbuild/pants