<span>Hi I am new to setting up a pipeline using bitbucket.Working on a old code was able to deploy upuntil yesterday but it suddenly stopped working since today morning.</span>
<span>Unable to deploy code since morning I am getting the following error :-</span>
<span>+ ssh ${HOST_USERNAME}@${HOST_URL} " cd ${PROJECT_ROOT_STAGING} && echo ${BITBUCKET_COMMIT} > latest_deployment && git pull && yarn && yarn build && pm2 restart ${PM2_PROCESS_NAME_STAGING}"username</span><span><a href="mailto:inevitableanup@bitbucket.org" target="_blank" rel="noopener nofollow noreferrer">@bitbucket.org</a>: Permission denied (publickey).</span><span>fatal: Could not read from remote repository.</span><span>Please make sure you have the correct access rights</span><span>and the repository exists.</span>
I was able to deploy a day before but it suddenly stopped working today.