Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

deploy from artifact to ec2 without s3

Anuradha Mitra
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 5, 2023

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

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 6, 2023

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events