How to indent
Some checks failed
/ deploy (push) Failing after 1s

This commit is contained in:
Jan Krutisch 2025-05-28 14:02:20 +02:00
parent 648a83a282
commit ec99ab9c1b

View file

@ -11,14 +11,14 @@ jobs:
- uses: actions/checkout@v3
- name: "Setup"
- run: |
bundle config set path vendor/bundle
bundle install --jobs=4 --retry=3
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
chmod 700 ~/.ssh
echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
./bin/deploy.sh
bundle config set path vendor/bundle
bundle install --jobs=4 --retry=3
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
chmod 700 ~/.ssh
echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
./bin/deploy.sh