Is it possible, with BitBucket Pipelines, to deploy code from a specific commit onwards?
For example when using an FTP pipeline I might want to deploy code only from the last 2 commits as the previous commits may already be deployed.
Hi @Steve Perry ,
if I understand you right, you want to deploy just new changes.
In your case, you can use the pipe rsync-deploy.
More available pipes you can discover on the Bitbucket Pipes page.
Cheers,
Alex
Hi Alex
Thanks for the response. Whilst I think that might work, I'm looking for a way to specify an actual commit hash to start from. For example specifying an actual commit to start from in the config file.
rsync-deploy will probably do the job behind the scenes so it's worth me looking at but I'd like manual control if pos.
Cheers,
Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.