• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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