You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: support for deploying directly from a git remote #466
It would be nice if the controller supported deploying apps by specifying a git remote URL. e.g. deis pull https://github.com/deis/example-nodejs-express.git or deis deploy https://github.com/deis/example-nodejs-express.git. That would make it easier to eventually have a "Deploy to Deis" button like Heroku.
Would this be better resolved with a third-party plugin for the client? pulling a git repo and building it sounds a lot like git push to me, which one could write a plugin around the client:
$ cat << EOF > ~/bin/deis-deploy
#!/bin/bash
APP_NAME=$1
REPO=$2
echo "cloning $REPO to ./$APP_NAME"
git clone $REPO $APP_NAME
cd $APP_NAME
deis git:remote
git push deis master
EOF
$ chmod 755 ~/bin/deis-deploy
$ deis deploy myapp https://github.com/deis/example-nodejs-express.git
That's just really difficult to do in a browser environment. There's https://github.com/creationix/js-git but it apparently doesn't support GH due to GH's CORS policy. I could always do the git clone/git push server side in deis dash but I'd prefer keeping the code base completely client side because it makes a lot of things simpler.
Activity
deis-admin commentedon Jan 19, 2017
From @bacongobbler on March 24, 2016 20:31
Would this be better resolved with a third-party plugin for the client? pulling a git repo and building it sounds a lot like
git pushto me, which one could write a plugin around the client:deis-admin commentedon Jan 19, 2017
From @olalonde on March 24, 2016 22:45
That's just really difficult to do in a browser environment. There's https://github.com/creationix/js-git but it apparently doesn't support GH due to GH's CORS policy. I could always do the
git clone/git pushserver side in deis dash but I'd prefer keeping the code base completely client side because it makes a lot of things simpler.Cryptophobia commentedon Mar 21, 2018
This issue was moved to teamhephy/builder#24