Files
sos/test.sh
Your Name 47d833a453
Some checks failed
Build-Test-Publish / build (linux/amd64) (push) Failing after 8s
Build-Test-Publish / build (linux/arm64) (push) Failing after 8s
test: Add 1, update 1 and remove 2 files
2025-08-10 12:14:18 +12:00

21 lines
452 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
# spin up a local simple object server to try
# docker run -d \
# -p 8909:8080 \
# -v /path/to/storage:/data/storage \
# -v /path/to/sos_config.json:/data/sos_config.json:ro \
# --name object-server \
# gitea.jde.nz/public/simple-object-server
"${SCRIPT_DIR}/sos" upload "getbin.xyz" "${SCRIPT_DIR}/sos" "sos:test" "sos:dodgy"