This commit is contained in:
@@ -15,8 +15,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
if command -v apt-get &> /dev/null; then
|
||||||
apt-get install -y sshpass
|
apt-get update
|
||||||
|
apt-get install -y sshpass openssh-client
|
||||||
|
elif command -v apk &> /dev/null; then
|
||||||
|
apk update
|
||||||
|
apk add sshpass openssh-client bash
|
||||||
|
else
|
||||||
|
echo "Unknown package manager"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Deploy to server
|
- name: Deploy to server
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user