• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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