diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index 3ccc10907b38ac873e138440084a600c7d75ee9b..e0f30f537c98eb7e3c669ab52d4e23eb8ac86d26 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -4301,7 +4301,7 @@ job_name:
     - *some-script-before
   script:
     - *some-script
-  before_script:
+  after_script:
     - *some-script-after
 ```