From 9c0c76e7d5e5e88d53843bf3620512d7fd9f6beb Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 1 Jun 2022 00:23:32 +0530 Subject: doc: Label file as post-receive, instead of post-receive-hook. * doc/forge.skb (Tutorial, Reference): Label file as post-receive, instead of post-receive-hook. --- doc/forge.skb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/forge.skb b/doc/forge.skb index 8689867..7aa7939 100644 --- a/doc/forge.skb +++ b/doc/forge.skb @@ -132,9 +132,9 @@ user who will own the git repository at the path specified by ,(code repository through ssh or similar. git provides various ,(ref :url "https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks" :text "server-side hooks") that trigger on various events. Of these, the -,(file [post-receive-hook]) triggers when pushed commits are +,(file [post-receive]) hook triggers when pushed commits are received. guix-forge sets up a ,(source-ref "guix/forge/forge.scm" -"\\(define\\* \\(ci-jobs-trigger-gexp" "post-receive-hook script") in +"\\(define\\* \\(ci-jobs-trigger-gexp" "post-receive hook script") in the repository to trigger a continuous integration run on every ,(command [git push]).]) (p [And finally, we put everything together in an ,(code @@ -217,9 +217,9 @@ integration jobs. ,(description (item :key (code ['post-receive-hook]) [If ,(code ['post-receive-hook]) is specified, the ,(file -"post-receive-hook") of the repository is configured to trigger CI +"post-receive") hook of the repository is configured to trigger CI jobs. This is possible only for local repositories. Note that any -pre-existing ,(file "post-receive-hook") is overwritten.]) +pre-existing ,(file "post-receive") hook is overwritten.]) (item :key (code ['webhook]) [If ,(code ['webhook]) is specified, a webhook server is configured to trigger CI jobs when a request is received on ,(samp "http://hostname:port/hooks/") \.]) -- cgit v1.2.3