DEPLOY SYNC - nself-org/cli GitHub Wiki
Version: Deprecated in v0.9.9
Status: nself deploy sync and nself config sync
This command is deprecated. Functionality is split between two new commands:
Use nself config sync for environment file synchronization:
# Old
nself sync pull staging
# New
nself config sync pull stagingUse nself deploy sync for deployment-related sync operations:
# Old
nself sync deploy
# New
nself deploy sync| Old Command | New Command |
|---|---|
nself sync pull <env> |
nself config sync pull <env> |
nself sync push <env> |
nself config sync push <env> |
nself sync status |
nself config sync status |
nself sync history |
nself config sync history |
nself sync profiles |
nself config sync profiles |
nself sync deploy <env> |
nself deploy sync <env> |
The original sync command had two distinct responsibilities:
- Configuration management (syncing .env files, secrets)
- Deployment operations (syncing code, containers)
These are now properly separated:
-
nself config sync- Environment configuration management -
nself deploy sync- Deployment and code synchronization
The old command still works temporarily and automatically redirects:
$ nself sync pull prod
⚠ The 'nself sync' command is deprecated.
Please use: nself deploy sync
# Automatically redirects based on subcommand- v0.9.9: Deprecation warning added
- v1.0.0: Command will be removed
# Pull production config
nself sync pull prod
# Push to staging
nself sync push staging
# Check sync status
nself sync status# Pull production config
nself config sync pull prod
# Push to staging
nself config sync push staging
# Check sync status
nself config sync status# Sync deployment
nself sync deploy prod# Sync deployment
nself deploy sync prod- config - Configuration management
- deploy - Deployment management
- CONFIG-SYNC - Config sync documentation
Removal Date: v1.0.0
Category: Deprecated Commands