fix(config): add
This commit is contained in:
16
hooks.json
16
hooks.json
@@ -1,19 +1,15 @@
|
||||
[
|
||||
{
|
||||
"id": "zola-build",
|
||||
"execute-command": "/bin/sh",
|
||||
"command-working-directory": "/app",
|
||||
"pass-arguments-to-command": [
|
||||
{ "source": "string", "name": "-c" },
|
||||
{ "source": "string", "name": "git pull origin main && zola build" }
|
||||
],
|
||||
"execute-command": "/app/scripts/deploy.sh",
|
||||
"command-working-directory": "/app/zola-blog",
|
||||
"trigger-rule": {
|
||||
"match": {
|
||||
"type": "value",
|
||||
"value": "refs/heads/main",
|
||||
"type": "payload-hmac-sha256",
|
||||
"secret": "mySuperSecret123!@#",
|
||||
"parameter": {
|
||||
"source": "payload",
|
||||
"name": "ref"
|
||||
"source": "header",
|
||||
"name": "X-Gitea-Signature"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user