diff --git a/includes/include.drupalci.main.yml b/includes/include.drupalci.main.yml
index 393470934d7514ee30997e0e8e43cfa7974163d3..201032000f2cfcd4d65899976cd567790ddeb043 100644
--- a/includes/include.drupalci.main.yml
+++ b/includes/include.drupalci.main.yml
@@ -473,6 +473,7 @@ pages:
   script:
     - pip install mkdocs-material
     - mkdocs build --site-dir public
+    - printf "$DIVIDER\n* The documentation will be published to the URL $CI_PAGES_URL in the 'pages:deploy' job.$DIVIDER\n"
   artifacts:
     paths:
       - public
@@ -1207,8 +1208,11 @@ environment check:
     - if: $_CONFIG_DOCKERHUB_ROOT == null
   script:
     - |
-      DIVIDER="*********************************************************************************"
-      printf "$DIVIDER\n* Critical variables are missing and the composer job will fail.\n* This can be caused by a 'variables:' line with no variables defined after it.\n$DIVIDER\n"
+      # The $DIVIDER variable will also be empty so we do not use it here.
+      echo "*********************************************************************************"
+      echo "* Critical variables are missing and the composer job(s) will fail.             *"
+      echo "* This can be caused by a 'variables:' line with no variables defined after it. *"
+      echo "*********************************************************************************"
       exit 1
 
 ################