Join Slack
Powered by
Hello! Is there a way to add git pull step only to...
# prefect-integrations
k
Kacper K
02/12/2025, 12:50 PM
Hello! Is there a way to add git pull step only to selected deployments in prefect.yaml?
n
Nate
02/12/2025, 2:25 PM
hi
@Kacper K
- yes like this
https://github.com/zzstoatzz/prefect-pack/blob/main/prefect.yaml#L52-L61
each deployment definition can define its own
build
push
or
pull
steps, otherwise they will default to any global steps defined at the top of the file
🙌 1
k
Kacper K
02/13/2025, 11:18 AM
is it started from prefect 3 version? I am using 2.14.11 and it returns key error not letting me pass pull to single deployment besides global
n
Nate
02/13/2025, 4:41 PM
it should work in either 2 or 3, id guess there’s an error in the yaml syntax
Open in Slack
Previous
Next