From 4839241851bae57f4a394f1e3ef2699940d0a3d4 Mon Sep 17 00:00:00 2001
From: anoduck <11767-anoduck@users.noreply.gitgud.io>
Date: Tue, 8 Oct 2024 14:07:32 -0400
Subject: feat(content): :memo: DevUI & Content
Further configuration of FrontMatter UI && Additions to Persons
---
sync-quartz.sh | 36 ------------------------------------
1 file changed, 36 deletions(-)
delete mode 100755 sync-quartz.sh
(limited to 'sync-quartz.sh')
diff --git a/sync-quartz.sh b/sync-quartz.sh
deleted file mode 100755
index 8be7d15..0000000
--- a/sync-quartz.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/usr/bin/env bash
-
-#Variables
-# -------------------------
-REPO="/home/vassilios/Sandbox/quartz"
-SRC="$REPO/public/"
-REMOTE="216.189.157.213"
-DST="/var/www/htdocs/corruptlamar"
-USERNAME="anoduck"
-# ------------------------------------------
-build() {
- npx quartz build
-}
-
-alt_files() {
- rg --files-with-matches\
- --fixed-strings\
- ''\
- | xargs -I % sed -i '//d' %
-}
-
-sync() {
- # $SRC_PATH must be _closed_ and ends _with_ a "/".
- # $DST_PATH must be _open_ and ends _with_ _NO_ "/".
- rsync -azv -e ssh --delete "$SRC" "$USERNAME"@"$REMOTE":"$DST"
-}
-# ------------------------------------------
-if [[ ! "$PWD" == "$REPO" ]]; then
- cd "$REPO" || return
-fi
-build
-cd "$SRC" || return
-#alt_files
-echo "Skipping cleaning of alt files"
-cd "$REPO" || return
-sync
--
cgit v1.2.3