Git Product home page Git Product logo

cpanel-yml's People

Contributors

francoisgeyser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cpanel-yml's Issues

Subfolder Copy Not Working

Hey Francois,

I am trying to copy repository sub folder into main source code using below commands but it does not seem to be working. However it only works if the directory path is upto /home/username/public_html. I want would want to copy specific subfolders/modules to main code base

---
deployment:
      tasks:
        - export DEPLOYPATH=/home/username/public_html/app/code/NameSpace/ModuleName
        - /bin/cp /app/code/NameSpace/ModuleName/* $DEPLOYPATH

Thanks

Cpanel-yml not working

I have been trying to deploy individual files/folder changes to root folder destination, however it seems the provided code does not work. Below is the yml I am trying in Magento 2 to check if file level changes are updated on public_html but it seems it is not working and does nothing.

---
deployment:
      tasks:
        - export DEPLOYPATH=/home/username/public_html/app/code/NameSpace/ModuleName
        - /bin cp /app/code/NameSpace/ModuleName/registration.php $DEPLOYPATH

The code only works if you copy entire root to destination which is not practical in real time as no one would want to replace files/folders that are not committed.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.