Skip to content

Instantly share code, notes, and snippets.

@charleigh-prefect
Last active August 25, 2022 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save charleigh-prefect/539a044082fd018f2085f64ed3e0c08e to your computer and use it in GitHub Desktop.
Save charleigh-prefect/539a044082fd018f2085f64ed3e0c08e to your computer and use it in GitHub Desktop.
Shell script to build and send a Prefect Deployment
# build a deployment in my team's dev S3 bucket
prefect deployment build ./flows.py:marvin \
--storage-block s3/dev \
--name "Marvin's First Deployment" \
--work-queue duck
# send the deployment to the API
prefect deployment apply ./deployment.yaml
@anna-geller
Copy link

@charleigh-prefect can you change that to:

--work-queue duck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment