We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ec454a commit b4220f9Copy full SHA for b4220f9
1 file changed
.github/actions/deploy/action.yml
@@ -3,19 +3,19 @@ description: Deploy project image to server
3
4
inputs:
5
6
- ssh key:
+ sshKey:
7
description: 'SSH key to connect to server'
8
required: true
9
10
server:
11
description: 'Target server address'
12
13
14
- docker user:
+ dockerUser:
15
description: 'DockerHub user name'
16
17
18
- docker password:
+ dockerPassword:
19
description: 'DockerHub user password'
20
21
@@ -31,7 +31,7 @@ runs:
31
apk add --no-cache py-pip py-paramiko
32
pip install docker-compose==1.23.2
33
eval $(ssh-agent -s)
34
- echo "$SSH_KEY" | tr -d '\r' | ssh-add - > /dev/null
+ echo "$SSHKEY" | tr -d '\r' | ssh-add - > /dev/null
35
mkdir -p ~/.ssh
36
chmod 700 ~/.ssh
37
ssh-keyscan $SERVER >> ~/.ssh/known_hosts
0 commit comments