You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello ,
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
image: atlassian/default-image:latest
pipelines:
branches:
staging-test: -
step:
deployment: staging
script: - pipe: atlassian/scp-deploy:0.3.4
variables:
USER: 'ritwik'
SERVER: '<ssh-url >'
REMOTE_PATH: '/var/www/html'
LOCAL_PATH: ${BITBUCKET_CLONE_DIR}/*
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.
Hey do you get any solution for that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.