blob: e950549643bd764e8a576fb7d1ceb6256e939948 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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/
|