I am trying to setup a pipeline to my SFTP to deploy my react project. However I get the following error:
Couldn't canonicalize: No such file or directory
Unable to canonicalize path "/static"
This is a subfolder in my build folder. So seems like I can't write subfolder.
This is my script:
deployment: staging
script:
- pipe: atlassian/sftp-deploy:0.5.2
variables:
USER: '{{user}}'
SERVER: '{{server}}'
REMOTE_PATH: '/'
LOCAL_PATH: 'build/*'
DEBUG: 'true'