From f9838fb685edca1cd3eb9e4a87a6d3d02a285620 Mon Sep 17 00:00:00 2001 From: Jack Green Date: Tue, 19 Aug 2025 17:09:52 +0100 Subject: [PATCH] Remove explicit cURL `POST` When executed with `verbose`, cURL logs: > Note: Unnecessary use of -X or --request, POST is already inferred. [The `-d`/`--data` flag sends data via `POST`](https://curl.se/docs/manpage.html#-d) so specifying `POST` _as well_ is redundant. --- .github/workflows/build-site.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index 9827e5a0..dcdb21b6 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -11,4 +11,4 @@ jobs: runs-on: ubuntu-latest steps: - name: Trigger build - run: curl -X POST -d {} https://api.netlify.com/build_hooks/6001914f301e101ce206e8a0 + run: curl -d {} https://api.netlify.com/build_hooks/6001914f301e101ce206e8a0