Skip to content
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

absolute path as base directory (-d option) #317

Closed
okuryu opened this issue Oct 2, 2019 · 0 comments · Fixed by #318
Closed

absolute path as base directory (-d option) #317

okuryu opened this issue Oct 2, 2019 · 0 comments · Fixed by #318

Comments

@okuryu
Copy link
Contributor

okuryu commented Oct 2, 2019

The -d (--dist) option seems to work only with a path under the current directory (process.cwd()). Is there way to use an absolute path like /tmp?

$ npx gh-pages -V
2.1.1
$ pwd
/Users/okuryu/work/tests/test-20191002
$ env NODE_DEBUG=gh-pages npx gh-pages -d /tmp/docs/
ENOENT: no such file or directory, stat '/Users/okuryu/work/tests/test-20191002/tmp/docs/'
okuryu added a commit to okuryu/gh-pages that referenced this issue Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant