New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to copy to root #34
Comments
@bsides what version of Let me know if this config works for you: grunt.initConfig({
'gh-pages': {
options: {
base: 'dist'
},
all: {
src: ['**']
}
}
}); |
Didn't work either, but worry not - I just used git for it:
With this command it will push just the dist folder into the branch gh-pages. I even put it on my .gitconfig file to make it faster:
This way I just call |
grunt.initConfig({
'gh-pages': {
options: {
base: 'dist'
},
all: {
src: ['**']
}
}
}); This worked for me. |
It didn't work twice though. Running grunt gh-pages-clean helped though. |
Same issue as @steveoh, worked the first time but not the second. |
I believe I have a similar problem, but none of the solutions helped. My file structure is like this:
I want the following to be published to GitHub pages:
Whichever option I try, the output is always put inside
Any ideas? |
Hi,
I'm trying to get this tool to copy everything from my project's ./dist folder to the git clone gh-pages but I want all the files from the dist folder only. From what I understood, this is the default config:
What I understood is that with this config everything from "dist" will be copied to a new branch called "gh-pages" with only the things in dist. What is happening is that it's copying the whole project into this branch and not only this folder... am I missing something?
Thanks in advance!
The text was updated successfully, but these errors were encountered: