Hi
Im trying to convert my build script from v1 to v2, but I keep getting a permission error:
Warning: Permanently added '35.198.xxx.xxx' (ECDSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Im using dokku, and I these commands to push to dokku. Working fine in v1, but now I get a a permission error… I use same keys, same server and haven’t changed anything in the project. Here are my commands I use in my new config.yml file:
- run:
name: Add dokku as remote branch
command: git remote add dokku dokku@35.198.xxx.xxx:appname
- run:
name: Push to dokku production
command: git push dokku master
I’m not sure what Im doing wrong here?
/Peter