Compare commits
1 commit
566547ee26
...
da30209ff1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da30209ff1 |
1 changed files with 3 additions and 9 deletions
|
|
@ -310,15 +310,9 @@ backup_import_issues() {
|
|||
backup_import() {
|
||||
local tarball="$1"
|
||||
|
||||
if [ -z "${FORGE_URL:-}" ]; then
|
||||
echo "Error: FORGE_URL not set" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "${FORGE_TOKEN:-}" ]; then
|
||||
echo "Error: FORGE_TOKEN not set" >&2
|
||||
exit 1
|
||||
fi
|
||||
# Validate required environment
|
||||
[ -n "${FORGE_URL:-}" ] || { echo "Error: FORGE_URL not set" >&2; exit 1; }
|
||||
[ -n "${FORGE_TOKEN:-}" ] || { echo "Error: FORGE_TOKEN not set" >&2; exit 1; }
|
||||
|
||||
backup_log "=== Backup Import Started ==="
|
||||
backup_log "Target: ${FORGE_URL}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue