Closed iantearle closed 1 year ago
It’s pretty simple. Just dep deploy. From my prospective it hard to tell what to improve in docs. Maybe you can add pr with your view of better doc?
I tryed to use examples but they did not work Look, https://github.com/nsolv/demodeployphp
I created simple deploy.php and it worked when I ran it localy.
I added simple action by example (https://github.com/deployphp/action#example), but I had error Run deployphp/action@master with: private-key: *** dep: deploy -vvv Error: Command failed with ENOENT: deployer.phar deploy -vvv spawn deployer.phar ENOENT
I created fork https://github.com/zivan/action and fixed two problems. First, you have to use relative path when execute command. Second, files .ssh/known_hosts and .ssh/config must have permissions 600, if it is not true you will have a error from ssh client.
But I had a error when git clone repository.
Now, everything works fine.
What is it that this action actually does? What's the end result? Are any normal steps to deploying affected, or does this deploy when Git receives a push?
I may just be suffering from not enough coffee on a Monday morning, but I'm struggling to see in the code what's going to happen...