I am trying to deploy my static website using bitbucket pipeline to our digitial oeacn droplet. For this purpose I am using scp deploy.
Below is my bitbucket-pipeline.yml configuration
script: - pipe: atlassian/scp-deploy:0.3.4
SERVER: '<ssh-url >'
I get the below error message .
If I change the the permission for "/var/www/html" that should solve the issue.But since this is a public website I dont want to change the file permissions.
My question is that can we execute scp deploy pipe with "sudo"?
If not then what is the solution for this problem.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event