My CI project is dependent on another private repo. So I refer to the document to upload the private key using
➜ travis sshkey --upload ~/.ssh/id_travis_rsa --pro
Updating ssh key for SolarUltima/uni-sso with key from /Users/SolarUltima/.ssh/id_travis_rsa
Current SSH key: key for clone k8s-config
Finger print: 65:25:66:26:4d:5d:9f:ac:25:ba:ea:be:c4:d5:e3:5f
Seems the SSH keys config is only available for private repos.
The issue here is the main repo is public , but when you are deploying it, you’re doing it into a private repo and it needs to be downloaded. This scenario is not covered by the official documention.
The workaround is to switch copying the private repo via https instead of ssh , so no need to upload the SSH keys.
By setting up the GH_TOKEN in the settings, and then add that token to the .netrc file. Then copy the private repo via using https should work via:
On step 6 it asks me to upload my private ssh key to SSH keys in the settings which is not visible in the travis settings for my public repo. Has this always been the case or has travis changed this in recent times?
In this case, I need to supply a private key somewhere for travis to be able to authenticate with Aquia for the deployment step…