Skip to content

Commit 8fca624

Browse files
authored
CXX-3195 avoid deleting custom 404 page during Hugo sync (#1303)
1 parent db2bdfe commit 8fca624

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etc/deploy-to-ghpages.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ sub _hugo_rsync {
3636
'CNAME',
3737
'/sitemap.xml',
3838
'/sitemap_index.xml',
39+
'/404.html',
3940
);
4041
_try_run( qw{rsync -Cavz --delete}, ( map { ; '--exclude' => $_ } @exclude ), qw{build/hugo/}, $tmpdir );
4142
}

0 commit comments

Comments
 (0)