From c77e4d0f87024d01904cc067c1a8b8affd80c1f7 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 11 Oct 2020 09:42:17 +0900 Subject: [PATCH] docs: add notes about keep_files Note that users who are using a Static Site Generator do not need this option in most cases. Please reconsider your project structure and building scripts, or use a built-in feature of a Static Site Generator before you enable this flag. - [Static Files | Hugo](https://gohugo.io/content-management/static-files/) - [Using the Static Folder | Gatsby](https://www.gatsbyjs.com/docs/static-folder/) Related issues: - #507 - #509 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index fa0d3b7..73e698d 100644 --- a/README.md +++ b/README.md @@ -332,6 +332,11 @@ For example: By default, existing files in the publish branch are removed before adding the ones from publish dir. If you want the action to add new files but leave existing ones untouched, set the optional parameter `keep_files` to `true`. +Note that users who are using a Static Site Generator do not need this option in most cases. Please reconsider your project structure and building scripts, or use a built-in feature of a Static Site Generator before you enable this flag. + +- [Static Files | Hugo](https://gohugo.io/content-management/static-files/) +- [Using the Static Folder | Gatsby](https://www.gatsbyjs.com/docs/static-folder/) + For example: ```yaml