Replace '_site' with '_dist'

master
Keith Irwin 2021-06-17 15:42:29 -06:00
parent 727e61a4a8
commit 8e547e13bc
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
3 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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

View File

@ -1,3 +1,3 @@
[build]
publish = "_site"
command = "DEBUG=* eleventy"
publish = "_dist"
command = "DEBUG=* eleventy"