sudo berechtigung zur rsync installation wieder entfernt
This commit is contained in:
parent
4f7afb6123
commit
12a9b6d0b8
1 changed files with 2 additions and 1 deletions
|
|
@ -35,7 +35,8 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y rsync mkdir -p ~/.ssh
|
apt-get update && apt-get install -y rsync
|
||||||
|
mkdir -p ~/.ssh
|
||||||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/deploy_key
|
echo "$SSH_PRIVATE_KEY" > ~/.ssh/deploy_key
|
||||||
chmod 600 ~/.ssh/deploy_key
|
chmod 600 ~/.ssh/deploy_key
|
||||||
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue