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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I am unable to deploy vendor and dist folder to my server

Here's my bitbucket-pipelines.yml

 

# This is an example Starter pipeline configuration# Use a skeleton to build, test and deploy using manual and parallel steps# -----# You can specify a custom docker image from Docker Hub as your build environment.image: atlassian/default-image:2
pipelines:  default:    - parallel:      - step:          name: 'Build and Test'          image: node:10.16.2          caches:            - node          script:            - yarn install            - yarn test            - yarn  run build          artifacts:            - dist/**            - vendor/**    # The following deployment steps will be executed for each pipeline run. To configure your steps and conditionally deploy see https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/    - step:        name: 'Deployment to Production'        image: node:10.16.2        deployment: production        trigger: 'manual'        script:          - npm install          - npm test          - yarn          - yarn build:production          - apt-get update          - apt-get -qq install git-ftp          - git ftp push --insecure --user $FTP_USER --passwd $FTP_PASS ftpes://ftp.mydomain.dev/public_html/wp-content/themes/cule --all

 It's a newbie question but it's unable to deploy dist and vendor folder, even though I have added them under artifacts.

am i missing something here?

1 answer

0 votes

@Maisam Bakhshi please format your pipeline code to readable format and share it again.

And also it would be useful to see the logs of failing.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

644 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you