Bitbucket Pipeline - how to exclude files or folders?
问题 How can I exclude folders or files from being uploaded to the server? I would like to ignore the "src" folder and package.json. # ----- image: node:10.15.3 pipelines: branches: develop: - step: caches: - node name: Deploy to develop (Nino) Continuous integration. script: # Modify the commands below to build your repository. - echo 'Deploying.. hold your horses!' - yarn install - yarn dev - pipe: atlassian/sftp-deploy:0.4.1 variables: USER: $USER PASSWORD: $ROOT_PASSWORD SERVER: $SERVER REMOTE