wheels deploy push
Push deployment artifacts to target environment.
Synopsis
Description
The wheels deploy push
command transfers deployment artifacts, configuration files, and application code to the target deployment environment. It handles file synchronization, artifact validation, and ensures secure transfer of deployment packages.
Options
--environment, -e
- Target environment (default: production)--artifact
- Path to deployment artifact or directory--config
- Configuration file to include--exclude
- Files/patterns to exclude from deployment--dry-run
- Simulate push without actual transfer--force
- Force push even if validation fails--parallel
- Number of parallel upload threads--compress
- Compression method (gzip, bzip2, none)--checksum
- Verify file integrity with checksums--bandwidth
- Limit bandwidth usage (e.g., "1M", "500K")
Examples
Basic push
Push specific artifact
Dry run to see what would be pushed
Push with exclusions
Limited bandwidth push
Artifact Types
Application bundles
Docker images
Static assets
Configuration files
Push Process
Validation: Verify artifacts and environment
Compression: Compress files if specified
Checksum: Generate integrity checksums
Transfer: Upload to target environment
Verification: Confirm successful transfer
Notification: Report push status
Use Cases
CI/CD pipeline push
Multi-environment push
Incremental push
Secure push with encryption
Transfer Methods
Direct transfer
Default method for simple deployments:
S3 bucket transfer
For AWS deployments:
Registry push
For containerized applications:
Validation
The push command performs several validations:
Pre-push validation
Artifact integrity check
Environment accessibility
Space availability
Permission verification
Post-push validation
Transfer completion
Checksum verification
Artifact extraction test
Configuration validation
Progress Monitoring
Error Handling
Retry failed pushes
Resume interrupted push
Rollback on failure
Best Practices
Always validate: Use --dry-run before actual push
Use checksums: Enable checksum verification
Compress large artifacts: Reduce transfer time and bandwidth
Exclude unnecessary files: Use .deployignore file
Monitor transfer: Watch for errors during push
Test in staging: Always push to staging before production
Keep artifacts versioned: Use semantic versioning
Configuration
.deployignore file
Push configuration
Integration
Push operations integrate with:
CI/CD systems for automated deployments
Artifact repositories (Nexus, Artifactory)
Container registries (Docker Hub, ECR)
CDN services for static assets
Monitoring systems for transfer tracking
See Also
Last updated
Was this helpful?