Concatination of text to make URL link text #4035
ArthurMitchell42
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Have a look at the join function in sprig. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
One idea I had was to create a URL link using string concatenation to open an SFTP session at the current path and machine, and then place that around the "runner@host" segment. In order to do this I think the following would be needed?
{{ url {{.UserName}}@{{.HostName}} "sftp://"+.UserName+"@"+.HostName+"/".Location }}
but I can't seem to see any way of concatenating strings to make this work?
Arthur
Beta Was this translation helpful? Give feedback.
All reactions