diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 79c68a1a841f0faac75edbb80f693238ded3e1eb..c69e80d73e29c45d9aaa68dd56bbc0342acbe695 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,7 +34,7 @@ changelog:
     GIT_DEPTH: 0 # avoid shallow clone to give cliff all the info it needs
   stage: build
   script:
-    - curl -H "PRIVATE-TOKEN: $COMMON_CI_API_TOKEN" 'https://gitlab.phaidra.org/api/v4/projects/1469/repository/files/cliff.toml/raw/?ref=main' > cliff.toml
+    - 'curl -H "PRIVATE-TOKEN: $COMMON_CI_API_TOKEN" "https://gitlab.phaidra.org/api/v4/projects/1469/repository/files/cliff.toml/raw/?ref=main" > cliff.toml'
     - git-cliff --latest -o CHANGELOG.md
   artifacts:
     paths: