I can't find my release script while deploying

#1

I am using a deploy stage and want to call a script that is at the root of the project, but Travis is not able to find it. When using a script ‘ls -la’ I can see that the file structure is my project’s.

This is my .travis.yml file:

 sudo: false

language: node_js

node_js:
  - '8'

branches:
  only:
    - master
    - /(release-|hotfix-)/
    - /pr\//
    - /^\d+\.\d+\.\d+$/
    - CD_with_travis-CI

services:
  - docker

install:
  - docker build . --tag=nzz-app
  - cd vamp/frontend/ && yarn && cd ../..
  - yarn

deploy:
  on:
    branch: CD_with_travis-CI
  provider: script
  script: release.sh

script:
 - yarn test

after_success:
  - cd vamp/frontend/ && yarn run coverage-report && cd ../..

cache:
  yarn: true
  directories:
    - npm_modules
#2

Do you have a build log URL that shows the problem?

#3

I just get:
Script failed with status 127
failed to deploy

#4

That’s not a URL.

I want to see the entire build log.