Closed jlmmns closed 2 years ago
Right now, I'm using "deployer/deployer": "v7.0.0-beta.24"
, along with the corresponding binary.
With the ./.github/deploy.yml
YAML file specified, Deployer seems to be running fine, with debugging.
But when using a ./.github/deploy.php
PHP file, the action terminates immediately with "error 255".
- name: Deploy
uses: deployphp/action@master
with:
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
dep: deploy develop -f ./.github/deploy.yml -vvv
Maybe this article could help you: https://stefanzweifel.io/posts/2021/05/24/deployer-on-github-actions
I’ve not been able to try it yet and came to this repo / issue only through the article, but there are many things explained with (working) examples that seems very helpful.
Even if there is no specific information there about which main repo or action repo version to use. Maybe it helps you to get it back working!
Now readme has an example.
It's great to see a deployer action, but I can't get it to work. There's also no clear indication of which repo version to use (main repo + action repo).
I almost had it working on the 6.8 version, but then the repo didn't have a proper import for Rsync. So then I updated to "deployer/deployer": "dev-master"
Now I'm able to properly import Rsync (php), but I keep getting the following error:
Command failed with exit code 255: vendor/bin/dep deploy develop -f ./.github/deploy.php -vvv
This error occurs right away, when the action gets triggered.
No debug info whatsoever, regardless of the
-vvv
flag.The deployment script has worked before, even with proper -vvv debugging.
What's going on??