Giter VIP home page Giter VIP logo

volo-ghdeploy's People

Contributors

jrburke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

volo-ghdeploy's Issues

Cannot deploy a copy of a submodule

It seems that ghdeploy will not let me deploy a copy of a git submodule. It deploys an empty directory which leads to 404s.

Here's an example: https://github.com/kumar303/yacht/

There is a git submodule at www/js/receiptverifier. The volo build command pretty much just does cp -R www www-built. When ghdeploy runs against www-built it silently refuses to push any files inside js/receiptverifier. I tried to simulate what ghdeploy was doing and I got this error:

$ git checkout gh-pages
$ cp -R www-built/js/receiptverifier ./js/receiptverifier
$ git add js/receiptverifier/*
fatal: Path 'js/receiptverifier/LICENSE' is in submodule 'js/receiptverifier'

wth? I don't know what's going on here. There is no .gitmodules on the gh-pages branch. I still have .git/modules/www/js... because that's a module on master so maybe that's causing the conflict? I tried removing all .git files from www-built but that didn't change anything.

Any ideas on how to fix this or work around it?

All project files are staged to delete after running volo ghdeploy for the first time

Output of volo ghdeploy

./node_modules/.bin/volo ghdeploy
arikon, name of github repo [arikon/apw]: bem/apw
Initialized empty Git repository in /Users/arikon/projects/bem/apw/cache/volo-ghdeploy/.git/
From github.com:bem/apw
 * branch            gh-pages   -> FETCH_HEAD
[gh-pages 248af61] Deploy
 9 files changed, 9 insertions(+), 9 deletions(-)
To [email protected]:bem/apw.git
   2cf4280..248af61  gh-pages -> gh-pages
GitHub Pages is set up. Check http://bem.github.com/apw/ in about 10-15 minutes.

Output of git status

# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#   deleted:    .gitignore
#   deleted:    .travis.yml
#   deleted:    GNUmakefile
#   deleted:    README.md
#   deleted:    README.ru.md
#   deleted:    bin/apw
#   deleted:    index.js
#   deleted:    lib/apw.js
#   deleted:    lib/arch.js
#   deleted:    lib/asserts.js
#   deleted:    lib/coa.js
#   deleted:    lib/plan.js
#   deleted:    lib/util.js
#   deleted:    lib/workers.js
#   deleted:    package.json
#   deleted:    test/arch-test.js
#   deleted:    test/common.js
#   deleted:    test/mocha.opts
#   deleted:    test/plan-test.js
#   deleted:    test/workers-test.js
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#   .gitignore
#   .travis.yml
#   GNUmakefile
#   README.md
#   README.ru.md
#   bin/
#   index.js
#   lib/
#   package.json
#   test/
#   volofile

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.