ssh client revision added some helper scripts and changed to alpine
All checks were successful
/ build-docker-image (push) Successful in 50s
All checks were successful
/ build-docker-image (push) Successful in 50s
This commit is contained in:
5
docker/app/scripts/remote-get-folder-size
Executable file
5
docker/app/scripts/remote-get-folder-size
Executable file
@@ -0,0 +1,5 @@
|
||||
#/bin/bash
|
||||
source loadenv
|
||||
repo_size_bytes=$(remote-connect du -b "$SSH_FOLDER" -d 0)
|
||||
repo_size_bytes=$(echo "$repo_size_bytes" | awk '{print $1}')
|
||||
echo "$repo_size_bytes"
|
||||
Reference in New Issue
Block a user