Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Deploying with post-receive hook
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ninja_scienctist  
View profile  
 More options Dec 31 2011, 7:13 am
From: ninja_scienctist <dejav...@gmail.com>
Date: Sat, 31 Dec 2011 04:13:23 -0800 (PST)
Local: Sat, Dec 31 2011 7:13 am
Subject: Deploying with post-receive hook
Hey everyone

I've got a little problem with deployment. I have setup a post-receive
hook on the repository on my linode server to clone and generate the
website. I have followed the instruction the Wiki. I am using RVM and
jekyll and other dependencies are installed and accessible to the
deploy(the one i am deploying the website with) account on the server.
The problem is that when i push to deploy, I get the following output:

Writing objects: 100% (3/3), 285 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: Initialized empty Git repository in /tmp/aliirz/.git/
remote: hooks/post-receive: 22: jekyll: not found (thats the problem)
To dep...@178.79.174.51:~/aliirz.git
   25dcb1c..2b5ee4b  master -> master

To be sure, I have chmod +x the post-receive hook and when executed on
the server, the site gets generated fine but when i use "git push
deploy master" it says that remote: hooks/post-receive: 22: jekyll:
not found.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kwpolska  
View profile  
 More options Jan 6, 1:32 pm
From: Kwpolska <kwpol...@gmail.com>
Date: Fri, 6 Jan 2012 19:32:02 +0100
Local: Fri, Jan 6 2012 1:32 pm
Subject: Re: Deploying with post-receive hook

Run `which jekyll` on the remote server, then set the path as the
command in the post-receive hook.

--
Kwpolska <http://kwpolska.tk>
stop html mail      | always bottom-post
www.asciiribbon.org | www.netmeister.org/news/learn2quote.html
GPG KEY: 5EAAEA16   | Arch Linux x86_64, zsh, mutt, vim.
# vim:set textwidth=70:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »