diff --git a/doc/ci/variables/index.md b/doc/ci/variables/index.md index 6a077d21419583a039ce66b39bddad6b9d4e3532..7b93d56318b1e65e3c7e9bedd9053e17cadaa52b 100644 --- a/doc/ci/variables/index.md +++ b/doc/ci/variables/index.md @@ -651,7 +651,7 @@ To also reference the variable in other stages, write the variable to both the ` build-job: stage: build script: - - echo "ARCH=$(arch)" | tee >> $GITLAB_ENV build.env + - echo "ARCH=$(arch)" | tee -a $GITLAB_ENV >> build.env - touch some-file-$(arch) artifacts: paths: