1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-29 20:17:46 +00:00

apply: clean def sync

This commit is contained in:
RGBCube 2025-06-25 18:47:30 +03:00
parent 57f9847a09
commit 82b304945d
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -1,18 +1,19 @@
#!/usr/bin/env nu
def --wrapped sync [...args] {
( rsync
def --wrapped sync [...arguments] {
(rsync
--archive
--compress
--delete --recursive --force
--delete-excluded
--delete-missing-args
--delete-missing-arguments
--human-readable
--delay-updates
...$args)
...$arguments)
}
# Applies the changes to the site by uploading it to the VPS.
def main [] {
const dest_directory = "_site_production"