-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifying a default publish_mode value #7102
Comments
hip3r
added a commit
to poslovnimediji/decap-cms
that referenced
this issue
Feb 22, 2024
hip3r
added a commit
to hip3r/decap-website
that referenced
this issue
Feb 22, 2024
martinjagodic
pushed a commit
that referenced
this issue
Feb 27, 2024
privatemaker
pushed a commit
to decaporg/decap-website
that referenced
this issue
Feb 27, 2024
demshy
pushed a commit
that referenced
this issue
Mar 1, 2024
* //issues/7102 publish mode allow empty string * fix: //issues/7125 bump vfile version
@hip3r I se you did some work here, is this done? |
pr #7116 |
martinjagodic
pushed a commit
to decaporg/decap-website
that referenced
this issue
Oct 7, 2024
* /decaporg/decap-cms/issues/7102 documentation for publish mode possible values * fix: /decaporg/decap-cms/issues/6797 registerEditorComponent example
martinjagodic
pushed a commit
to decaporg/decap-website
that referenced
this issue
Oct 17, 2024
* /decaporg/decap-cms/issues/7102 documentation for publish mode possible values * /decaporg/decap-cms/issues/7223 update custom mounting docs * pr comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following and testing the Gitea support discussed in #6984, #6997 it seems now that Decap works on Gitea and the Forgejo fork when the server is configured correctly, which is very cool 🥳
However, while testing a couple sites, I noticed the following error when using the nifty Hugo Module hugomods/decap-cms made by @razonyang
Upon inspecting the
config.yml
file the module generates, which is served asdecap-cms-confg.yml
it seems the module is injectingpublish_mode: editorial_workflow
even when it's not specified. However, since withgitea
this is incompatible, I tried changing value to Booleanfalse
which shows:Also when setting it as String values
"false"
or"default"
or"normal"
it still fails with this error:@razonyang modified his module to accept
publish_mode: ''
to omit the key being injected which solves this, for now. But I think Decap should also have a default value for this field.Originally discussed in #7095
The text was updated successfully, but these errors were encountered: