Skip to content

Commit

Permalink
Extend failed connection to remote repo msg
Browse files Browse the repository at this point in the history
Due to no_log for git clone on deploy you are unable to see the exact
output error message, adding the branch being used to the fail message
may help when incorrect branch name is used.
  • Loading branch information
ChrisScrumping committed Jan 21, 2021
1 parent dbd5420 commit 531cf8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/deploy/tasks/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
- name: Failed connection to remote repo
fail:
msg: |
Git repo {{ project.repo }} cannot be accessed. Please verify the repository exists and you have SSH forwarding set up correctly.
Git repo {{ project.repo }} on branch {{ project_version }} cannot be accessed. Please verify the repository/branch are correct and you have SSH forwarding set up correctly.
More info:
> https://roots.io/trellis/docs/deploys/#ssh-keys
> https://roots.io/trellis/docs/ssh-keys/#cloning-remote-repo-using-ssh-agent-forwarding
Expand Down

0 comments on commit 531cf8b

Please sign in to comment.