Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

allow ghpages npm command to push to GH Pages of fork (fixes #197) #201

Merged
merged 2 commits into from
Sep 24, 2015
Merged

allow ghpages npm command to push to GH Pages of fork (fixes #197) #201

merged 2 commits into from
Sep 24, 2015

Conversation

cvan
Copy link
Contributor

@cvan cvan commented Sep 24, 2015

To prove deploys work:

Pushed https://mozvr.github.io/vr-markup/ by running

npm run ghpages

Pushed https://cvan.github.io/vr-markup/ by running

npm run ghpages cvan

@cvan cvan self-assigned this Sep 24, 2015
@cvan cvan changed the title allow ghpages npm commanad to push to GH Pages of fork (fixes #197) allow ghpages npm command to push to GH Pages of fork (fixes #197) Sep 24, 2015

console.log('Publishing to', repo.url);

ghpages.clean();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does clean do?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when you run npm run ghpages and then npm run ghpages cvan, the gh-pages library is silly and thinks you're pushing the same repo, so it doesn't do a new git fetch. this fixes that. I can add a comment.

@ngokevin
Copy link
Owner

r+

@cvan
Copy link
Contributor Author

cvan commented Sep 24, 2015

tested again, works well

@cvan
Copy link
Contributor Author

cvan commented Sep 24, 2015

thanks, y'all

cvan added a commit that referenced this pull request Sep 24, 2015
allow `ghpages` npm command to push to GH Pages of fork (fixes #197)
@cvan cvan merged commit 1ae52cb into ngokevin:dev Sep 24, 2015
cvan added a commit that referenced this pull request Nov 30, 2015
allow `ghpages` npm command to push to GH Pages of fork (fixes #197)
cvan added a commit that referenced this pull request Dec 1, 2015
allow `ghpages` npm command to push to GH Pages of fork (fixes #197)
cvan added a commit that referenced this pull request Dec 10, 2015
allow `ghpages` npm command to push to GH Pages of fork (fixes #197)
dmarcos pushed a commit to dmarcos/aframe-core that referenced this pull request Dec 17, 2015
allow `ghpages` npm command to push to GH Pages of fork (fixes #197)
@cvan cvan removed their assignment Apr 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants