diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 77c8cfdb6ef49a79cca21a8d7b00dcec941bd1d4..e0e4014e6f8a9e4225bcc160c13ad2d5c4093aba 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -193,7 +193,7 @@ build_front:
     # this is to ensure we don't have any errors in the output,
     # cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
     - yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
-    - chmod -R 750 front/dist
+    - chmod -R 750 dist
   cache:
     key: "$CI_PROJECT_ID__front_dependencies"
     paths: