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:
parent
57f9847a09
commit
82b304945d
1 changed files with 5 additions and 4 deletions
9
apply.nu
9
apply.nu
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue