From 04aa050632c246464c7e7ef3888a4d3b2ffafcce Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 17 Oct 2021 17:22:39 -0400 Subject: bin/hook: s/pablotron.org/example.com/ --- bin/hook/etc/webhook.conf | 10 +++++----- bin/hook/post-receive | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'bin') diff --git a/bin/hook/etc/webhook.conf b/bin/hook/etc/webhook.conf index 95c4ca5..34c2929 100644 --- a/bin/hook/etc/webhook.conf +++ b/bin/hook/etc/webhook.conf @@ -1,6 +1,6 @@ [{ - "id": "deploy-pablotron-org", - "execute-command": "/data/www/pablotron.org/bin/hook/deploy.rb", + "id": "deploy", + "execute-command": "/data/www/example.com/git/bin/hook/deploy.rb", "pass-arguments-to-command": [{ "source": "payload", @@ -10,15 +10,15 @@ "pass-environment-to-command": [{ "source": "string", "envname": "DEPLOY_HTDOCS_PATH", - "name": "/data/www/pablotron.org/htdocs" + "name": "/data/www/example.com/htdocs" }, { "source": "string", "envname": "DEPLOY_REPO_DIR", - "name": "/data/www/pablotron.org/data/git/pablotron.org" + "name": "/data/www/example.com/git" }, { "source": "string", "envname": "DEPLOY_BUILDS_DIR", - "name": "/data/www/pablotron.org/data/builds" + "name": "/data/www/example.com/builds" }], "trigger-rule": { diff --git a/bin/hook/post-receive b/bin/hook/post-receive index 63ff055..a3067b8 100755 --- a/bin/hook/post-receive +++ b/bin/hook/post-receive @@ -13,5 +13,5 @@ set -eu export HOOK_URL='https://example.com/hooks/deploy' export HOOK_HMAC_KEY="omitted" -# trigger webhook -exec /data/www/pablotron.org/data/git/pablotron.org/bin/hook/fire.rb +# trigger webhook request +exec /data/www/example.com/git/bin/hook/fire.rb -- cgit v1.2.3