From 874df2a7f4e8205f1da770fabdd332fe39be59b5 Mon Sep 17 00:00:00 2001 From: andre4ik3 Date: Mon, 18 Aug 2025 20:16:18 +0000 Subject: Add publish script and robots.txt --- publish.sh | 3 +++ static/robots.txt | 2 ++ 2 files changed, 5 insertions(+) create mode 100755 publish.sh create mode 100644 static/robots.txt diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..fdf389c --- /dev/null +++ b/publish.sh @@ -0,0 +1,3 @@ +#!/bin/sh +site="$(nix build --print-out-paths ".#")" +rsync --del -rvmP "$site"/ --perms --chmod=Da+x,u+rw relvokcor.xyz:public_html diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..c6742d8 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,2 @@ +User-Agent: * +Disallow: / -- cgit