Join Slack
Powered by
I am trying to deploy flows to prefect cloud using...
# prefect-cloud
s
Sangeetha Sivalingam
12/04/2022, 9:15 AM
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
Anna Geller
12/04/2022, 9:36 AM
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
Sangeetha Sivalingam
12/04/2022, 11:09 AM
Thanks it is working.
🙌 1
Sangeetha Sivalingam
12/04/2022, 1:33 PM
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
Sangeetha Sivalingam
12/04/2022, 1:36 PM
This is giving me error and not building the flow.
a
Anna Geller
12/04/2022, 3:31 PM
What error? The infrastructure block seems to be missing
5
Views
Open in Slack
Previous
Next