diff --git a/.gitignore b/.gitignore index 2ccbe46..6e84d4b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /node_modules/ +/.cache/ diff --git a/lib/index.js b/lib/index.js index d962af4..8b6db90 100644 --- a/lib/index.js +++ b/lib/index.js @@ -11,7 +11,7 @@ var git = require('./git'); var copy = require('./util').copy; function getCacheDir() { - return '.gh-pages'; + return path.relative(process.cwd(), path.resolve(__dirname, '../.cache')); } function getRemoteUrl(dir, remote) {