Add CI/CD workflow
All checks were successful
Deploy / Deploy (push) Successful in 32s

This commit is contained in:
2026-01-29 20:01:47 +00:00
parent f4373c62ca
commit d142034c08
4 changed files with 144 additions and 5 deletions

18
init.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env sh
# Define a helper function that runs a command
# If the command fails, the script prints an error message
# and exits immediately.
run() {
# "$@" expands to all arguments passed to this function
# and preserves proper word splitting and quoting.
"$@" || {
echo "Error: command failed: $*" >&2
exit 1
}
}
# Make sure volumes have correct permissions
run chown cipher:cipher /http_cache
run chown cipher:cipher /postgres_data