diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5d6c38f4e5021712e41f5f1961d755730f910d54..659dd7ed4d7cb5fcc678f7780704cc034bea2997 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ before_script:
   - git config --global url.https://.insteadOf git://
   - mkdir -p ~/.hex
   - printf "{key,<<\"$HEX_KEY\">>}.\n{username,<<\"$HEX_USERNAME\">>}.\n" > ~/.hex/hex.config
-  - mix local.hex --force
+  - mix hex.info
 
 stages:
   - compile