By yumako87
HI, i have an app deployed on digitalocean that works fine, i just started using circle ci, which also seem to do its job well, however im running into the issue where i cant do a git pull. If i try to run this from my local computer:
ssh -oStrictHostKeyChecking=no XXXX@XXXXXXXbash './deploy.sh'
Enter passphrase for key '/Users/alexandermunckafrosenschold/.ssh/id_rsa':
should cd into directory
Now git pull
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I get this, i get the same error when i run it from the circleci config. Any clues on why i get this?
This is my config for my circle ci config:
steps: - checkout: path: ~/XXXXXX - add_ssh_keys: fingerprints: - “XXXXXXXXXXXXXXXXXXXXX” - run: ssh -oStrictHostKeyChecking=no -v $DROPLET_USER@$DROPLET_IP bash ‘deploy.sh’
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.