Skip to content

Commit b4220f9

Browse files
authored
Update action.yml
1 parent 9ec454a commit b4220f9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/actions/deploy/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ description: Deploy project image to server
33

44
inputs:
55

6-
ssh key:
6+
sshKey:
77
description: 'SSH key to connect to server'
88
required: true
99

1010
server:
1111
description: 'Target server address'
1212
required: true
1313

14-
docker user:
14+
dockerUser:
1515
description: 'DockerHub user name'
1616
required: true
1717

18-
docker password:
18+
dockerPassword:
1919
description: 'DockerHub user password'
2020
required: true
2121

@@ -31,7 +31,7 @@ runs:
3131
apk add --no-cache py-pip py-paramiko
3232
pip install docker-compose==1.23.2
3333
eval $(ssh-agent -s)
34-
echo "$SSH_KEY" | tr -d '\r' | ssh-add - > /dev/null
34+
echo "$SSHKEY" | tr -d '\r' | ssh-add - > /dev/null
3535
mkdir -p ~/.ssh
3636
chmod 700 ~/.ssh
3737
ssh-keyscan $SERVER >> ~/.ssh/known_hosts

0 commit comments

Comments
 (0)