migrate to nix flake

This commit is contained in:
2023-03-25 12:43:23 +02:00
parent 8a77c3e232
commit 9f30e924c1
8 changed files with 101 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
#!/usr/bin/env bash
set -xeuo pipefail
cd "$(git rev-parse --show-toplevel)/jakstys.lt"
cd "$(git rev-parse --show-toplevel)"
rsync --info=progress2 -a --partial --delete public/ jakstys.lt:/data/public_html/
rsync --info=progress2 -a --partial --delete public/ beta.jakstys.lt:/var/www/jakstys.lt/