Tom Smets
02/24/2025, 12:57 PMMarvin
02/24/2025, 12:57 PMprefect.yaml
file to specify which files or directories to include.
The push
section in your prefect.yaml
can be templated to define what gets pushed. You can specify the folder property to control which parts of your project are included. Here's a general overview of how you might approach it:
1. Edit the prefect.yaml
file: Define the folder
property in the push
section to specify the directory structure you want to push.
2. Use the CLI: When you run prefect deploy
, ensure your prefect.yaml
file is set up correctly to reflect your desired file scope.
For more details, you can refer to the Prefect Deployment Documentation.
If you have specific files or directories in mind, you might need to script this logic outside of Prefect and adjust your deployment process accordingly.