Update .forgejo/workflows/build.yaml
publish / publish (push) Failing after 14s Details

Marc Riera 2024-02-17 16:26:45 +01:00
parent 1a719262c3
commit 6c9aed9569
1 changed files with 2 additions and 2 deletions

View File

@ -30,5 +30,5 @@ jobs:
echo "$SSH_PRIVATE_KEY" | ssh-add - echo "$SSH_PRIVATE_KEY" | ssh-add -
apt update && apt install -y rsync apt update && apt install -y rsync
mkdir ~/.ssh mkdir ~/.ssh
ssh-keyscan -p 3001 localhost > ~/.ssh/known_hosts ssh-keyscan -p 3001 sakura.local > ~/.ssh/known_hosts
rsync -atv --progress ./public/ publisher@172.25.1.5:/usr/share/nginx/html/ rsync -atv --progress --delete -e 'ssh -p 3001' ./public/ publisher@sakura.local:/usr/share/nginx/html/