feat: add options for branch, local_backend, and publish_mode (editorial flow)

Example for a YAML config:

```
  cms:
    branch: main
    local_backend: true
    publish_mode:
 ```

Close #2124
This commit is contained in:
George Cushen committed 2021-02-09 21:44:47 +00:00
1 parent 60d36e66d2
commit e470c4e2cf
13 files changed
+601 -543

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
{
"name": "wowchemy-test",
"version": "0.0.1",
"description": "Wowchemy Test Build",
"main": "",
"repository": "https://github.com/wowchemy/wowchemy-hugo-modules",
"author": "George Cushen",
"license": "MIT",
"private": true,
"scripts": {
"view": "hugo server --port 8080 --bind 0.0.0.0",
"build": "hugo --minify --cleanDestinationDir --gc --templateMetrics --templateMetricsHints",
"cms": "(trap 'kill 0' SIGINT; npx netlify-cms-proxy-server & hugo server --port 8080 --bind 0.0.0.0)"
}
}