Let's try to do it with a file on disk
Some checks failed
/ deploy (push) Failing after 56s

This commit is contained in:
Jan Krutisch 2025-05-28 14:25:34 +02:00
parent 97fa7d0cc0
commit 89e14a06bc

View file

@ -14,11 +14,9 @@ jobs:
bundle config set path vendor/bundle bundle config set path vendor/bundle
bundle install --jobs=4 --retry=3 bundle install --jobs=4 --retry=3
command -v rsync >/dev/null || ( apt-get update -y && apt-get install rsync -y ) command -v rsync >/dev/null || ( apt-get update -y && apt-get install rsync -y )
command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )
eval $(ssh-agent -s)
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
mkdir -p ~/.ssh mkdir -p ~/.ssh
chmod 700 ~/.ssh chmod 700 ~/.ssh
echo "$SSH_PRIVATE_KEY" >~/.ssh/id_ed25519
echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts chmod 644 ~/.ssh/known_hosts
- name: "Deploy" - name: "Deploy"