Skip to main content
Version: 7.x

rollback

Source

Configuration

rollback_candidate

Source

Rollback candidate automatically will be automatically chosen by looking at output of ls command and content of .dep/releases_log.

If rollback candidate marked as BAD_RELEASE, it will be skipped.

tip

You can override rollback candidate via:

dep rollback -o rollback_candidate=123

Tasks

rollback

Source

Rollbacks to the previous release.

Uses rollback_candidate for symlinking. Current release will be marked as bad by creating file BAD_RELEASE with timestamp and user.

warning

You can always manually symlink current_path to proper release.

dep run '{{bin/symlink}} releases/123 {{current_path}}'


Support Deployer โค๏ธ

Hello, my name is Anton Medvedev (@antonmedv). I'm the creator of the Deployer. I maintain this open source project in my spare time. Supporters on GitHub give me extra motivation to work on the project.

Consider supporting Deployer via GitHub Sponsors.

Also, please, nominate me for GitHub Stars award. Thanks!