ricardozanini commented on code in PR #539:
URL: 
https://github.com/apache/incubator-kie-kogito-docs/pull/539#discussion_r1492984494


##########
.github/workflows/sw-docs-pr.yml:
##########
@@ -17,27 +17,28 @@
 # under the License.
 #
 
-name: SonataFlow Guides
+name: SonataFlow Guides Build
 
 on:
   pull_request:
     types: [opened, synchronize, reopened, ready_for_review]
     branches: [main]
     paths-ignore:
-      - '.gitignore'
-      - 'LICENSE'
-      - 'README*'
+      - ".gitignore"
+      - "LICENSE"
+      - "README*"
+      - "CONTRIBUTING.md"
 jobs:
   build_site:
-    name: "Building SonataFlow Guides with Antora"
+    name: "Building SonataFlow Docs with Antora"
     runs-on: [ubuntu-latest]
     steps:
       - uses: actions/checkout@v3
       - uses: actions/setup-node@v3
         with:
-          node-version: '16'
+          node-version: "16"
       - run: export DOCSEARCH_ENABLED=true
       - run: export DOCSEARCH_ENGINE=lunr
       - run: export NODE_PATH="$(npm -g root)"
       - run: npm -v
-      - run: npm run install-build
+      - run: npm run local-install-build

Review Comment:
   This way we force the action to FAIL in case of any problems within the PR. 
In this action, doesn't make much sense to run the full build. That's only 
required when publishing on the live website.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to