diff options
| author | EuAndreh <eu@euandre.org> | 2020-08-24 10:56:38 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2020-08-24 10:59:02 -0300 |
| commit | 09743f0556e85690963595718a152b646483ac29 (patch) | |
| tree | 7a610a664ff145316e82d4904b1befb7a83436e3 | |
| parent | Overwrite favicons/ folder on deployment (diff) | |
| download | server-09743f0556e85690963595718a152b646483ac29.tar.gz server-09743f0556e85690963595718a152b646483ac29.tar.xz | |
Add cgit simple root-readme and root-desc
| -rw-r--r-- | cgit-about.html | 8 | ||||
| -rwxr-xr-x | nixos-switch.sh | 1 | ||||
| -rw-r--r-- | vps-configuration.env.nix | 2 |
3 files changed, 11 insertions, 0 deletions
diff --git a/cgit-about.html b/cgit-about.html new file mode 100644 index 0000000..159a092 --- /dev/null +++ b/cgit-about.html @@ -0,0 +1,8 @@ +<h1> + EuAndreh's git repositories +</h1> + +<p> + If you're interested in contributing, the README of each repository contains + instructions on how to do it. +</p> diff --git a/nixos-switch.sh b/nixos-switch.sh index a7ca73f..90f54cc 100755 --- a/nixos-switch.sh +++ b/nixos-switch.sh @@ -11,6 +11,7 @@ echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S -i nixos-rebuild switch --upgrade ssh "${TLD}" rm -rf "${DATA_ROOT}/favicons/" rsync -avzP favicons/ "${TLD}:${DATA_ROOT}/favicons/" +scp cgit-about.html "${TLD}:${GIT_ROOT}/about.html" scp bash-profile.sh "${TLD}:.bash_profile" # shellcheck disable=2050 diff --git a/vps-configuration.env.nix b/vps-configuration.env.nix index edfa9b1..b9218f2 100644 --- a/vps-configuration.env.nix +++ b/vps-configuration.env.nix @@ -245,6 +245,8 @@ in { enable-index-owner=0 enable-log-filecount=1 enable-log-linecount=1 + root-desc=public repositories + root-readme=${envsubstConfiguration.gitRoot}/about.html max-repodesc-length=120 repo.readme=:README.md remove-suffix=1 |
