From f7da804e40b990e5f1ee2214a2e2e4984d704f16 Mon Sep 17 00:00:00 2001 From: toufic ar Date: Tue, 7 Jul 2026 18:29:43 +0300 Subject: initial commit --- build.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..e950549 --- /dev/null +++ b/build.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +set -e + +pacman-key --init +pacman -Syu --noconfirm --needed base-devel git openssh rsync deno + +mkdir -p ~/.ssh +chmod -R 755 ~/.ssh +cp "$SECRET_SSH" ~/.ssh/id_ed25519 +chmod 600 ~/.ssh/id_ed25519 +echo "aphrodite.toufy.me" | xargs ssh-keyscan >~/.ssh/known_hosts + +deno install +deno run build + +rsync -raz --delete ./build/. root@aphrodite.toufy.me:/var/www/toufy.me/ -- cgit v1.3.1