this is my yml image:
pipelines: default: - step: name: Build caches: - node script: - npm install - npm run build artifacts: - build/** - step: name: Deploy artifacts using SCP to PROD deployment: production script: - pipe: atlassian/scp-deploy:0.3.3 variables: USER: $USER SERVER: $SERVER REMOTE_PATH: "/home/ubuntu/" LOCAL_PATH: "build/*" branches: master: - step: name: Deploy to Production script: - echo "Deploying to production..."definitions: steps: - step: &run_tests name: Run Tests script: - echo "Skipping tests" caches: node: # Keep the node cache - node
Hi Anuradha and welcome to the community!
Just a heads up, I edited the format of the yml file in your post for readability.
Could you please explain what kind of issue you are facing with this pipeline?
Are you experiencing any errors? If so, could you please post the part of the build log that shows which command is giving an error and the output of this command? Please make sure to sanitize any private/sensitive data before sharing.
If you have any questions, please let us know what it is that you need help with.
Kind regards,Theodora
It looks like you're new here. Sign in or register to get started.