Error when run script inside sub folder

We try to deploy ECS by run the .deploy.sh script in the subfolder web :

deploy:
  # dev
  - provider: script
    script: cd web && PROFILE=$AWS_PROFILE_DEV AWS_ACCESS_KEY_ID=$AWS_ACCOUNT_USER_ID_DEV AWS_SECRET_ACCESS_KEY=$AWS_ACCOUNT_SECRET_DEV AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION ./deploy.sh dev
    on:

But somehow, Travis always runs the Makefile in the parent folder.
Link to github repo: https://github.com/Unee-T-INS/invite

A test shows no such thing – a command run after cd correctly sees subdirectory as the current directory.

Please link to an affected build and pinpoint what exactly makes you think the current directory is wrong.

Imprint