Overview
Thepup push command deploys your Pupload project to a configured remote controller. This makes your flows available for production use on the remote controller infrastructure.
Usage
Arguments
The name of the controller to push to. This must be a controller that was previously added using
pup controller add.Prerequisites
Before pushing, you must add at least one controller to your project using the
pup controller add command.Examples
Push to production controller
Typical deployment workflow
What gets pushed
When you runpup push, the following are deployed to the remote controller:
- Flow definitions: All flows defined in your project
- Node definitions: Custom node types and configurations
- Project configuration: Project metadata and settings
- Dependencies: Required resources and assets
How it works
- Controller Lookup: Finds the controller configuration by name
- Project Packaging: Bundles your project files and configurations
- Upload: Transfers the project to the remote controller
- Deployment: The controller deploys the project and makes flows available
- Confirmation: Displays success message
Before you push
Pre-push checklist
- Run
pup validateto ensure all flows are valid - Test critical flows with
pup test - Review storage configurations for production environment
- Verify controller configuration with
pup controller list - Ensure you’re pushing to the correct controller
Managing multiple environments
You can configure multiple controllers for different environments:Error handling
If the push fails, common causes include:Controller not found
pup controller add or check the name with pup controller list.
Connection error
Authentication error
Post-deployment
After a successful push:- Your flows are immediately available on the remote controller
- Workers connected to that controller can execute your flows
- You can trigger flows via the controller API or webhooks
Pushing to a controller overwrites the previous version of your project on that controller. Ensure you want to replace the existing deployment.
Related commands
- pup controller add - Add a new controller
- pup controller list - List configured controllers
- pup validate - Validate before pushing
- pup test - Test before pushing