REBELinBLUE / deployer

Deployer is a free and open source deployment tool.
http://phpdeployment.org
MIT License
914 stars 185 forks source link

Deployments on multiple servers with custom commands defined #369

Open hanc2006 opened 6 years ago

hanc2006 commented 6 years ago

I have a strange behavior when I perform for a project a deploy on multiple servers. I have a project with different servers, custom commands, different files and I want to deploy only on some of these.

Expected behaviour

Actual behaviour

All custom commands are still executed even if the server is not active (Deploy Code = No).

Steps to reproduce

Environment info

REBELinBLUE commented 6 years ago

Sorry you are misunderstanding what "Code should be deployed to this server" does. It means the actual code from your git repository won't be deployed on the server, but custom commands which have that server set would run.

For example you could use this if you wanted to run a database backup during deploy, you'd run the mysqldump (or psql if postgres) on the DB server but you don't want/need your application code on that server.