This module provides a GraphQL mutation to force the publication of a whole subtree in Jahia by first deleting everything in the live workspace and then republishing the entire subtree.
- Java
- JavaScript
- Node.js
- React
- Maven
- Yarn
- NPM
- Java 11
- Node.js v18.20.2
- Yarn v1.22.22
- Maven 3.6.3 or higher
To build the project, run:
mvn clean install
To run the project, deploy the module inside your Jahia instance: https://academy.jahia.com/documentation/jahia-cms/jahia-8.1/developer/module-development/deploying-a-module-using-maven
The main functionality provided by this module is the forcePublish
mutation. This mutation can be used to force the publication of a whole sub-tree.
mutation {
jcr {
mutateNode(pathOrId:"/sites/digitall/home/about") {
forcePublish
}
}
}