diff options
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3,8 +3,12 @@ oauth: pages.sr.ht/PAGES:RW packages: - hut - hugo +- rsync +secrets: + - 4c5cebdb-c744-4dfb-a69a-30b9bdfe048c environment: site: status.adast.dk + mirror: srht@adast.dk tasks: - package: | cd $site @@ -12,3 +16,5 @@ tasks: tar -C public -cvz . > ../site.tar.gz - upload: | hut pages publish site.tar.gz -d $site --site-config $site/.siteconfig.json + sshopts="ssh -o StrictHostKeyChecking=no" + rsync --rsh="$sshopts" -ruz $site/public/ $mirror:/var/www/$site |