Closed hotrush closed 2 years ago
Specify version of deployphp/action.
Closing as this is not an Deployer issue.
I think action version is the latest - uses: deployphp/action@v1
Sorted it out yesterday, the problem is that I tried to setup deploying with v7 deployer version, but action downloads v6 by default (probably because v7 is rc for now). But it doesn't mentioned anywhere in docs or readmes, so some confusing. Thanks
In readme:
# Deployer version to download from deployer.org.
# First, the action will check for Deployer binary at those paths:
# - `vendor/bin/dep`
# - `deployer.phar`
# If the binary not found, phar version will be downloaded from
# deployer.org.
# Optional.
deployer-version: "7.0.0"
Yes, but it downloads v6 by default, not v7. That's why it wasn't obvious for me.
For example the next wording will be more clear
# Deployer version to download from deployer.org.
# First, the action will check for Deployer binary at those paths:
# - `vendor/bin/dep`
# - `deployer.phar`
# If the binary not found, phar version will be downloaded from
# deployer.org.
# Optional. Default: "^6.0.0"
deployer-version: "7.0.0"
My workflow steps look like this:
But it couldn't deploy
I can see it tries to connect as
runner@x.x.x.x
, but mydeploy.php
has another userAny ideas? Thanks