GithubHelp home page GithubHelp logo

gitdeployhub's Introduction

GitDeployHub for IIS

Simple web app that can listen for web requests (like github webhooks) and trigger git deployments using a git fetch and git checkout. You can deploy from any git "treeish" (branch, tag or commit hash).

Requirements

Installation

  1. git clone this repository:
cd D:\Inetpub\wwwroot
git clone git://github.com/benjamine/gitdeployhub.git
  1. publish on IIS (eg. HomeDirectory= D:\Inetpub\wwwroot\gitdeployhub\Web\)
  • set the site on his own .Net 4.0 Application Pool
  • add write permissions on his own folder, and on any other folder you want to deploy websites to. (the app will be running git fetch and checkout on those)
  1. open the site homepage for instructions on adding deploy targets (instances).

gitdeployhub's People

Contributors

beneidel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gitdeployhub's Issues

First run: Server Error in '/' Application.

This is what I get when I run the application.

It's a clean 2012 R2 server with .NET and GIT installed.
Just for the kicks I added Everyone with full control to permissions.

screen shot 2015-09-22 at 12 00 44

git fetch fails with error 255

I've done the following configuration:

  1. created a deployUser
  2. granted deployUser full control to local repo folder
  3. created customAppPool for gitdeployhub with deployUser as the identity
  4. using TortoisePlink and Putty ssh, not openssh on my git install.
  5. Created a putty session for bitbucket.org using my custom ssh private key as the auth key.

I can log in to the server as deployUser, and successfully run a git fetch/ git pull from the commandline.

I tried setting environmentVariables="PLINK_PROTOCOL=SSH;GIT_SSH=" in my instance, with no success.

With the level of logging going on in gitdeployhub, I can't see what is causing the error 255 on the git fetch.

Do you have any insight on this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.