chore: add debug logging for Cloudflare Pages deploy form arguments
This commit is contained in:
1 parent
4aac5f9009
commit
c0356a26f6
1 file changed
+4
@@ -56,6 +56,10 @@ jobs:
|
||||
form_args="$form_args -F $file=@$file"
|
||||
done
|
||||
|
||||
# print the form arguments for debugging
|
||||
echo "Form arguments:"
|
||||
echo "$form_args" | tr ' ' '\n' | sed 's/^/- /'
|
||||
|
||||
# Get short commit hash for deployment metadata
|
||||
COMMIT_HASH=$(git rev-parse --short HEAD 2>/dev/null || echo "unknown")
|
||||
COMMIT_MSG=$(git log -1 --pretty=%B 2>/dev/null | head -1 || echo "Gitea Actions deploy")
|
||||
|
||||
Reference in new issue
Block a user