mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-27 22:40:02 +01:00
update ci and change ssh keyscan stuff
This commit is contained in:
parent
6e2f08234b
commit
bb6a9a0d92
1 changed files with 4 additions and 3 deletions
|
@ -4,6 +4,8 @@ packages:
|
||||||
- rsync
|
- rsync
|
||||||
repositories:
|
repositories:
|
||||||
nodejs: https://deb.nodesource.com/node_18.x bullseye main 1655A0AB68576280
|
nodejs: https://deb.nodesource.com/node_18.x bullseye main 1655A0AB68576280
|
||||||
|
environment:
|
||||||
|
REMOTE: web01vp.cloud.lauka.net
|
||||||
secrets:
|
secrets:
|
||||||
- 54755283-43f7-44a6-97fb-70db08184ff1
|
- 54755283-43f7-44a6-97fb-70db08184ff1
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -15,6 +17,5 @@ tasks:
|
||||||
npx @11ty/eleventy --input=./ --output=public
|
npx @11ty/eleventy --input=./ --output=public
|
||||||
- deploy: |
|
- deploy: |
|
||||||
cd www-lauka-net
|
cd www-lauka-net
|
||||||
set +x && source ~/.buildsecrets && set -x
|
ssh-keyscan -t ed25519 $REMOTE >> $HOME/.ssh/known_hosts
|
||||||
sshopts="ssh -o StrictHostKeyChecking=no"
|
rsync -avh --delete --chown=webadmin:caddy ./public webadmin@$REMOTE:/webroot/www.lauka.net
|
||||||
rsync -avh --rsh="$sshopts" --delete --chown=webadmin:caddy ./public webadmin@web01vp.cloud.lauka.net:/webroot/www.lauka.net
|
|
||||||
|
|
Loading…
Reference in a new issue