diff --git a/doc/ci/steps/_index.md b/doc/ci/steps/_index.md
index 92ff95b9ecea797e9d18ca10300d5b07f2c06a68..a4125dbd97fe99d4facf68068d751080a169842a 100644
--- a/doc/ci/steps/_index.md
+++ b/doc/ci/steps/_index.md
@@ -265,7 +265,7 @@ job:
     - name: echo_random
       step: gitlab.com/components/echo
       inputs:
-        message: "The random value is: ${{steps.generate_rand.random_value}}"
+        message: "The random value is: ${{steps.generate_rand.outputs.random_value}}"
 ```
 
 ### Environment variables