Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Deploy upon merge #131

Closed
aik099 opened this issue Jun 9, 2022 · 1 comment
Closed

Deploy upon merge #131

aik099 opened this issue Jun 9, 2022 · 1 comment

Comments

@aik099
Copy link
Member

aik099 commented Jun 9, 2022

In some workflows after merging a code (e.g. from trunk to a tags/stable tag), it's required to deploy these changes to the server (e.g. production or staging).

This can be implemented as follows:

  1. add a per-repository (no global version) config setting called commit.deploy-command, which will store a Bash command that will do a deploy;
  2. when a commit is performed (automatic after merge or manual) AND svn:mergeinfo property was changed AND commit.deploy-command config setting is specified, then execute it without buffering so that the user can see results in real-time.
@aik099
Copy link
Member Author

aik099 commented Aug 16, 2024

Implemented in #156 .

@aik099 aik099 closed this as completed Aug 16, 2024
@aik099 aik099 removed the feature label Feb 4, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant