Skip to content

Commit a6e1695

Browse files
authored
Remove explicit cURL POST (#11)
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.
1 parent db19781 commit a6e1695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Trigger build
15-
run: curl -X POST -d {} https://api.netlify.com/build_hooks/6335936e0caff6219afbb0df
15+
run: curl -d {} https://api.netlify.com/build_hooks/6335936e0caff6219afbb0df

0 commit comments

Comments
 (0)