CI not using latest commit

I have configured my .gitlab-ci.yml like this:

  type: deploy
  - pip install -r requirements/base.txt
  - cd deploy
  - fab staging deploy
  - develop

And when I push the commit is not really the latest commit being deploy, it’s the previous one…

Here on the image:, I pushed commit ‘Update fabfile’, but previous commit ‘Update requirements’ is being deplyed.

Is it possible to deploy last commit?

Thanks for the help