Hi there,
I'm trying to set up Bitbucket Pipelines - my first time using CI, I've been searching through the examples for a while but I'm not quite sure how to perform the following steps:
Hello @Gaius Temple
Here's probably a good tutorial for you to start with: Javascript (Node.js) with Bitbucket Pipelines. It also links to the demo Node.js repository with example of Pipelines setup.
Steps starting from #3 belong to the deployment process. Here's an entry point to the documentation on deployments in Bitbucket Pipelines.
Hope this helps.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Daniil Penkin
Thank you for your reply.
I've now got it building and producing the dist files, but using scp to deploy them to the server takes ages each time racking up my build minutes even if only one or two files have changed. I could use rsync but does this run over ssh (-e ssh) or are my files transferred unencrypted?
Edit: Ah can I do EXTRA_ARGS: "-e ssh"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
rsync itself doesn't do any encryption, so a separate protocol, usually SSH, must be specified to make transfer secure. However I'm not an expert with rsync, and I'm not sure what's the best way to set it up in your case.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.