Deploy your first script
prefect-cloud
CLI, you can deploy any Python script that’s available in a GitHub repository and run it on a schedule in the cloud for free in a few simple steps.
Log in to Prefect Cloud
Connect to GitHub
Deploy your workflow
prefect-cloud deploy
has a few helpful options, like adding Python dependencies to your deployment and setting the default parameter values for your entrypoint function.Add dependencies
Set parameter defaults
Include environment variables
Include secrets
Select Python version
3.9
, 3.10
, 3.11
, and 3.12
.Run your deployment
Override parameter defaults for a single run
Follow run output in your terminal
Schedule your deployment
0 * * * *
for hourly runs or 0 0 * * *
for daily runs at midnight.Set per-schedule parameter defaults
View your runs in Prefect Cloud
prefect
Python package in your development environment, and explore the following topics:
.submit()
and .map()
.