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