volojs / volo-ghdeploy Goto Github PK
View Code? Open in Web Editor NEWA volo command for deploying a directory to GitHub Pages
License: Other
A volo command for deploying a directory to GitHub Pages
License: Other
It is actual for the Github:Enterprise installations.
As a third argument for example.
The first time you run ghdeploy (with volo 0.2.9) it does its thing but then all files in master are deleted. To fix them it's as easy as git reset .
but it's confusing and obviously a bug. This doesn't happen the second time.
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.