https://prefect.io logo
Title
l

Leon Kozlowski

02/01/2023, 4:13 AM
How can I login with
prefect cloud login
within CI if there are interactive results for login? Every time I try to login I am not met with exceptions due to having to type responses to various questions
First it was selecting a workspace, which can be solved with a flag
-w
but now it is selecting a profile, which cannot be overridden in the CI
r

redsquare

02/01/2023, 7:29 AM
you dont need to login, just set these two vars prefect config set PREFECT_API_KEY=${{ secrets.PREFECT_API_KEY }} prefect config set PREFECT_API_URL=${{ secrets.PREFECT_API_KEY }}