• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue Cannot cd in deploy actions

topkat2

New Pleskian
Server operating system version
debian 20
Plesk version and microupdate number
18.0.43
Hi, I have tried multiple things in deploy actions:

`ls > output.log` => output the content of main folder (backend/ frontend/)
`cd ./backend/ && ls > output.log` => output nothing
`cd ./backend/ > output.log` => output an empty file

I was awaiting at least an error message. Why can't I cd in deploy actions ?

Another thing also very annoyoing is that I need to commit something to the repo & pull in order that the updates I made in deploy actions are taken in account.
 
hello @topkat2 ,

to debug you probably need to change deploy mode to manual, otherwise custom deployment actions will invoked in case push to the remote repo only.

I've created deploy actions below:
touch marker.txt;
touch tests/marker2.txt;
cd src && pwd > ~/logdepl.txt 2>&1
deploy configured to the httpdocs/course.

the result is a three files were created:
httpdocs/course/marker.txt
httpdocs/course/tests/marker2.txt

cat /var/www/vhosts/mydomain.tld/logdepl.txt
/var/www/vhosts/mydomain.tld/httpdocs/course/src
 
Back
Top