mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-23 20:50:40 +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
|
||||
repositories:
|
||||
nodejs: https://deb.nodesource.com/node_18.x bullseye main 1655A0AB68576280
|
||||
environment:
|
||||
REMOTE: web01vp.cloud.lauka.net
|
||||
secrets:
|
||||
- 54755283-43f7-44a6-97fb-70db08184ff1
|
||||
tasks:
|
||||
|
@ -15,6 +17,5 @@ tasks:
|
|||
npx @11ty/eleventy --input=./ --output=public
|
||||
- deploy: |
|
||||
cd www-lauka-net
|
||||
set +x && source ~/.buildsecrets && set -x
|
||||
sshopts="ssh -o StrictHostKeyChecking=no"
|
||||
rsync -avh --rsh="$sshopts" --delete --chown=webadmin:caddy ./public webadmin@web01vp.cloud.lauka.net:/webroot/www.lauka.net
|
||||
ssh-keyscan -t ed25519 $REMOTE >> $HOME/.ssh/known_hosts
|
||||
rsync -avh --delete --chown=webadmin:caddy ./public webadmin@$REMOTE:/webroot/www.lauka.net
|
||||
|
|
Loading…
Reference in a new issue