francoisgeyser / cpanel-yml Goto Github PK
View Code? Open in Web Editor NEWFile for cPanel git deployment
License: MIT License
File for cPanel git deployment
License: MIT License
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.