diff --git a/.gitignore b/.gitignore index 6f6027f..2b150a9 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ !*.lock !*.ts !*.tsx + +!*.nu diff --git a/apply.nu b/apply.nu new file mode 100755 index 0000000..8374de3 --- /dev/null +++ b/apply.nu @@ -0,0 +1,12 @@ +#!/usr/bin/env nu + +# Applies the changes to the site by uploading it to the VPS. +def main [] { + deno task build --location https://rgbcu.be/ + + cd _site + rsync --delete --recursive --compress ./ cube:/var/www/site + cd - + + echo $"(ansi green)Successfully uploaded!(ansi reset)" +}