Giter VIP home page Giter VIP logo

grunt-git-deploy's People

Contributors

iclanzan avatar

Stargazers

 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

grunt-git-deploy's Issues

Does not remove /tmp/Website folder after is done

The first time the task is run, it creates /tmp/Website (or /tmp/"whatever" depending on your project name) but does not remove it after it is done.

Subsequent runs fail if this folder is in place:

Running "git_deploy:your_target" (git_deploy) task
>> Cannot delete nonexistent file.
Running clone -b master https://github.com/eat-sleep-code/eat-sleep-code.com.git . in tmp/Website
Warning: fatal: destination path '.' already exists and is not an empty directory. Use --force to continue.

Commit history

Thanks for your work here, saves a few trips to the terminal but is there a way to modify this so that it pushes a new commit without deleting the old one or what are the issues with this?

Had a merge conflict after pulling in new changes

So the first time I ran this and cloned the new branch to my webserver it went great. However I made some more changes to the site, built it which they deploys it to the branch.

But this time when I went to where I had cloned the branch and did a git pull, I had a conflict error of some sort where I changed the file. As if it didn't completely remove all the files before trying to overwrite them.

When I viewed the files in the file browser I did not see the conflicts in the files, so I think it happens after I git pull on the server.

Do I need to do something more specific when cloning the branch and pulling in newly deployed changes?

Can only run once - subsequent runs hit "branch exists" error

Hi. I'm trying to deploy to a git branch automatically from my build server, after a successful build. This plugin would be perfect, except I can only run it once.

The first run works great. Creates the remote branch and pushes the folder I need it to. Great. But on the second run it fails, obviously because the branch now already exists on the remote.

Running "git_deploy:app" (git_deploy) task
Running init
Running checkout --orphan deploy
Warning: fatal: A branch named 'deploy' already exists. Use --force to continue.

Is this intended behaviour? Can I configure this to run multiple times?

Any help greatly appreciated.

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.