I am trying to deploy flows to prefect cloud using...
# prefect-cloud
s
I am trying to deploy flows to prefect cloud using github actions, is there a way to non interactively select the worskpace after you login.
a
Yes. The easiest is to manually set the PREFECT_API_URL and PREFECT_API_KEY but you can also do
Copy code
prefect cloud workspace set --workspace "annaprefect/dev"
👍 1
s
Thanks it is working.
🙌 1
prefect deployment build ./deployment.py:flow_2hr_comm1 -n "rad_com_test_flow" -sb github/test -t github -q rad_alert -v $GITHUB_SHA --apply
This is giving me error and not building the flow.
a
What error? The infrastructure block seems to be missing