Replace '_site' with '_dist'
parent
727e61a4a8
commit
8e547e13bc
|
@ -76,7 +76,7 @@ module.exports = function(eleventyConfig) {
|
|||
eleventyConfig.setBrowserSyncConfig({
|
||||
callbacks: {
|
||||
ready: function(err, browserSync) {
|
||||
const content_404 = fs.readFileSync('_site/404.html');
|
||||
const content_404 = fs.readFileSync('_dist/404.html');
|
||||
|
||||
browserSync.addMiddleware("*", (req, res) => {
|
||||
// Provides the 404 content without redirect.
|
||||
|
|
|
@ -5,7 +5,7 @@ before_script:
|
|||
- npm install @11ty/eleventy -g
|
||||
script: eleventy --pathprefix="/eleventy-base-blog/"
|
||||
deploy:
|
||||
local-dir: _site
|
||||
local-dir: _dist
|
||||
provider: pages
|
||||
skip-cleanup: true
|
||||
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[build]
|
||||
publish = "_site"
|
||||
command = "DEBUG=* eleventy"
|
||||
publish = "_dist"
|
||||
command = "DEBUG=* eleventy"
|
||||
|
|
Loading…
Reference in New Issue