Skip to content

DEPLOY SYNC

GitHub Actions edited this page Feb 17, 2026 · 1 revision

nself sync (DEPRECATED)

Version: Deprecated in v0.9.9
Status: ⚠️ DEPRECATED - Split into nself deploy sync and nself config sync

Migration Guide

This command is deprecated. Functionality is split between two new commands:

Configuration Synchronization

Use nself config sync for environment file synchronization:

# Old
nself sync pull staging

# New
nself config sync pull staging

Deployment Synchronization

Use nself deploy sync for deployment-related sync operations:

# Old
nself sync deploy

# New
nself deploy sync

Command Mapping

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>

Why Deprecated and Split

The original sync command had two distinct responsibilities:

  1. Configuration management (syncing .env files, secrets)
  2. Deployment operations (syncing code, containers)

These are now properly separated:

  • nself config sync - Environment configuration management
  • nself deploy sync - Deployment and code synchronization

Automatic Migration

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

Timeline

  • v0.9.9: Deprecation warning added
  • v1.0.0: Command will be removed

Quick Migration Examples

Configuration Sync (Before)

# Pull production config
nself sync pull prod

# Push to staging
nself sync push staging

# Check sync status
nself sync status

Configuration Sync (After)

# Pull production config
nself config sync pull prod

# Push to staging
nself config sync push staging

# Check sync status
nself config sync status

Deployment Sync (Before)

# Sync deployment
nself sync deploy prod

Deployment Sync (After)

# Sync deployment
nself deploy sync prod

See Also


Removal Date: v1.0.0
Category: Deprecated Commands

Home


Getting Started


Commands


Features


Configuration


Plugins (87 + 10 monitoring)

Free (25)
Pro (62)
Planned (26)
  • plugin-audit
  • plugin-blog
  • plugin-checkout
  • plugin-commerce
  • plugin-drm
  • plugin-export
  • plugin-flow
  • plugin-import
  • plugin-ldap
  • plugin-mailgun
  • plugin-media
  • plugin-oauth-providers
  • plugin-pages
  • plugin-postmark
  • plugin-rate-limit
  • plugin-reports
  • plugin-saml
  • plugin-scheduler
  • plugin-sendgrid
  • plugin-sso
  • plugin-subscription
  • plugin-thumb
  • plugin-transcoder
  • plugin-twilio
  • plugin-waf
  • plugin-watermark

Guides


Architecture


Reference


Licensing


Security


Brand


Operations


Contributing


Admin


Changelog


All commands (52)

Clone this wiki locally