Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
74f28021
Commit
74f28021
authored
May 14, 2022
by
PM Extra
Browse files
fix format again
parent
f90cbb63
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/ssh.sh
View file @
74f28021
...
@@ -186,8 +186,14 @@ _ssh_deploy() {
...
@@ -186,8 +186,14 @@ _ssh_deploy() {
_local_full_file
=
""
_local_full_file
=
""
case
$DEPLOY_SSH_SERVER
in
case
$DEPLOY_SSH_SERVER
in
*
:
*
)
_host
=
${
DEPLOY_SSH_SERVER
%
:
*
}
_port
=
${
DEPLOY_SSH_SERVER
##*
:
}
;;
*
:
*
)
*
)
_host
=
$DEPLOY_SSH_SERVER
_port
=
;;
_host
=
${
DEPLOY_SSH_SERVER
%
:
*
}
_port
=
${
DEPLOY_SSH_SERVER
##*
:
}
;;
*
)
_host
=
$DEPLOY_SSH_SERVER
_port
=
;;
esac
esac
_info
"Deploy certificates to remote server
$DEPLOY_SSH_USER
@
$_host
:
$_port
"
_info
"Deploy certificates to remote server
$DEPLOY_SSH_USER
@
$_host
:
$_port
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment