ci: install rsync in deploy runner container
Deploy to Production on Develop Push / deploy (push) Successful in 20s
Deploy to Production on Develop Push / deploy (push) Successful in 20s
This commit is contained in:
1 parent
9c451f12c5
commit
e063b3cd4a
1 file changed
+3
@@ -27,6 +27,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy to Server via rsync
|
- name: Deploy to Server via rsync
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install -y -qq rsync openssh-client
|
||||||
|
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
|
|||||||
Reference in new issue
Block a user