Hello everyone, I am new to the prefect and find it interesting. One question I have is, how do I push different versions of workflow code? Whenever I push a new version of code, prefect cloud does not pick it up. I have to create a new flow to reflect the change.
1. Is there a way to update the current version of code?
2. How to push a new version of the code?
I am using prefect cloud
k
Kevin Kho
09/03/2021, 3:47 PM
Hey @Shyam, whenever you change your code, you just have to re-register for Prefect Cloud to pick up the changes.
s
Shyam
09/03/2021, 3:51 PM
Thanks @Kevin Kho Is this the command to re-register?
prefect register -p flow.py
k
Kevin Kho
09/03/2021, 3:53 PM
Yes that’s right but maybe you need a project name so