fix(webhook): fix json
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id": "zola-build",
|
"id": "zola-build",
|
||||||
"execute-command": "zola",
|
"execute-command": "/bin/sh",
|
||||||
"command-working-directory": "/app",
|
"command-working-directory": "/app",
|
||||||
"pass-arguments-to-command": [{ "source": "string", "name": "build" }],
|
"pass-arguments-to-command": [
|
||||||
|
{ "source": "string", "name": "-c" },
|
||||||
|
{ "source": "string", "name": "git pull origin main && zola build" }
|
||||||
|
],
|
||||||
"trigger-rule": {
|
"trigger-rule": {
|
||||||
"match": {
|
"match": {
|
||||||
"type": "value",
|
"type": "value",
|
||||||
|
|||||||
Reference in New Issue
Block a user