mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +00:00
refactor: Deployment setup
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
ROOT_DIR=$(git rev-parse --show-toplevel)
|
||||
|
||||
bunx pkl project package $ROOT_DIR/pkl/*/
|
||||
|
||||
for dir in .out/*/; do
|
||||
folder=$(basename "$dir")
|
||||
rclone copy "$dir" "r2:pkljar/$folder"
|
||||
done
|
||||
|
||||
rm -rf .out
|
||||
|
||||
rclone copy $ROOT_DIR/static "r2:nebula"
|
||||
rm -rf $ROOT_DIR/static
|
||||
Reference in New Issue
Block a user