Build for react app passed but not deployed

Dear Travis community, im having a trouble with deploying my build:

  1. If i put skip_cleanup: true in the .travis.yml, the build and deploy passes, but nothing changes on the website…
  2. If i delete that line, the build fails with the message:

Deploying application

Initialized empty Git repository in /tmp/d20200422-7563-1fmvs4d/work/.git/

Switched to a new branch 'gh-pages'

cd -

cd /tmp/d20200422-7563-1fmvs4d/work

rsync: change_dir "/home/travis/build/filip4428/deedit-frontend/build" failed: No such file or directory (2)

rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]

Already up to date!

HEAD detached at f4d15d8

nothing to commit, working tree clean

Dropped refs/stash@{0} (e5b39170e61b8c67bc84635c61e8779e4c97df9b)

Could not copy /home/travis/build/filip4428/deedit-frontend/build.

failed to deploy

could you help me? i tried everything and just cant get it to work