@@ -11,7 +11,9 @@ jobs:
|
||||
image: hugomods/hugo:debian-dart-sass-node-git-0.161.1
|
||||
steps:
|
||||
- name: Install packages
|
||||
run: apt-get update -qq && apt-get install -y git-lfs rsync
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: apt-get update -qq && apt-get install -qq -y git-lfs rsync
|
||||
|
||||
- name: Checkout with LFS
|
||||
uses: actions/checkout@v4
|
||||
@@ -36,7 +38,7 @@ jobs:
|
||||
nginx0.nlams0.net.ipng.ch \
|
||||
nginx0.nlams1.net.ipng.ch \
|
||||
nginx0.nlams2.net.ipng.ch; do
|
||||
rsync -6a --delete-after \
|
||||
-e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" \
|
||||
public/ drone@${host}:/nginx/sites/sabbatical.ipng.nl/
|
||||
cmd="rsync -6a --delete-after -e \"ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no -o LogLevel=ERROR\" public/ drone@${host}:/nginx/sites/sabbatical.ipng.nl/"
|
||||
echo "${cmd}"
|
||||
eval "${cmd}"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user