Comments (18)
Hello, had to revert to 1.0.17
This was the error
Run deployphp/action@v1
with:
private-key: ***
dep: deploy dev
skip-ssh-setup: false
ansi: true
verbosity: -v
$ ssh-agent -a /tmp/ssh-auth.sock
SSH_AUTH_SOCK=/tmp/ssh-auth.sock; export SSH_AUTH_SOCK;
SSH_AGENT_PID=1729; export SSH_AGENT_PID;
echo Agent pid 1729;
$ ssh-add -
Identity added: (stdin) (admin)
Error: Cannot read properties of undefined (reading 'version')
from action.
$ sudo chmod +x deployer.phar
Invalid JSON in options
$ php deployer.phar --no-interaction --ansi -v $'deploy prod'
In Application.php line 709:
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "deploy prod" is not defined.
Exception trace:
at phar:///home/runner/work/Project/Project/deployer.phar/vendor/symfony/console/Application.php:709
Symfony\Component\Console\Application->find() at phar:///home/runner/work/Project/Project/deployer.phar/vendor/symfony/console/Application.php:259
Symfony\Component\Console\Application->doRun() at phar:///home/runner/work/Project/Project/deployer.phar/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at phar:///home/runner/work/Project/Project/deployer.phar/src/Deployer.php:317
Deployer\Deployer::run() at phar:///home/runner/work/Project/Project/deployer.phar/bin/dep:96
require() at /home/runner/work/Project/Project/deployer.phar:4
Error: Failed: dep deploy prod
Getting a new error there
And my host exists in my deploy.php
from action.
hotfix
- name: Deploy uses: deployphp/[email protected]
@antonmedv latest release pointing to a non-working version 1.0.18 (as 1.0.12)
from action.
Same as for @ashwin-nath-m happens to me:
$ ssh-agent -a /tmp/ssh-auth.sock
SSH_AUTH_SOCK=/tmp/ssh-auth.sock; export SSH_AUTH_SOCK;
SSH_AGENT_PID=1903; export SSH_AGENT_PID;
echo Agent pid 1903;
$ ssh-add -
Identity added: (stdin) (*******)
Error: Cannot read properties of undefined (reading 'version')
from action.
Should be fixed.
from action.
Should be fixed.
Now getting another error;
Run deployphp/action@v1
node:internal/errors:464
ErrorCaptureStackTrace(err);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'zx' imported from /home/runner/work/_actions/deployphp/action/v1/index.js
at new NodeError (node:internal/errors:371:5)
at packageResolve (node:internal/modules/esm/resolve:884:9)
at moduleResolve (node:internal/modules/esm/resolve:929:18)
at defaultResolve (node:internal/modules/esm/resolve:1044:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:422:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Will try @bes-internal's suggestion of locking to an earlier specific version for now.
from action.
Should be fixed now.
from action.
We need some tests)
from action.
Same for me. Exisiting deployment isn't running anymore. Seems like the $'deploy prod'
isn't processed (correct)
from action.
Is it possible that you set https://github.com/deployphp/action/releases/tag/v1.0.17 as the latest release again instead 1.0.12?
If I set the version in the GitHub action to uses: deployphp/[email protected]
it works
from action.
Same here :(
from action.
Same here :(
Can't tell from this error message what is the problem.
from action.
$ sudo chmod +x deployer.phar
Invalid JSON in options
$ php deployer.phar --no-interaction --ansi -v $'deploy prod'
In Application.php line 709:
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "deploy prod" is not defined.
Exception trace:
at phar:///home/runner/work/Project/Project/deployer.phar/vendor/symfony/console/Application.php:709
Symfony\Component\Console\Application->find() at phar:///home/runner/work/Project/Project/deployer.phar/vendor/symfony/console/Application.php:259
Symfony\Component\Console\Application->doRun() at phar:///home/runner/work/Project/Project/deployer.phar/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at phar:///home/runner/work/Project/Project/deployer.phar/src/Deployer.php:317
Deployer\Deployer::run() at phar:///home/runner/work/Project/Project/deployer.phar/bin/dep:96
require() at /home/runner/work/Project/Project/deployer.phar:4
Error: Failed: dep deploy prod
I suggest @malteschlueter I change version to 1.0.17 and it's working as previously
from action.
@ashwin-nath-m I can confirm this same problem none of our actions are working anymore because of v1.0.12 being tagged as v1
from action.
I have the same problem as for @ashwin-nath-m
Error: Cannot read properties of undefined (reading 'version')
Revert to 1.0.17 help for me
from action.
Any updates on this problem? im having the same issue
from action.
@knewitzgui I noticed that you are running deployphp/action@master
. Do you still have this issue when running deployphp/action@v1
? v1
is now pointing to a release that works for us.
from action.
thanks for replying, yes, i tried with v1, master, v1.0.12, and others, nothing seems to work.
i will leave the config of the deploy so u can see what i am doing, and if u have any sugestions on how to solve this.
from action.
Related Issues (20)
- `private-key` property shouldn't be required
- Quotes not recognize as quotes when setting options HOT 1
- Node12 is deprecated HOT 7
- Egress is over the account limit HOT 1
- Task composer install and npm build in runner HOT 7
- PHP Warning: require(contrib/npm.php): Failed to open stream: No such file or directory in HOT 1
- How to set directory where deploy has to be made HOT 1
- Ambiguous key verification error HOT 2
- Deployer appends known hosts rather than replacing them
- curl -LO undefined HOT 3
- Bug: verbosity level option doesn't work HOT 3
- Username / Password authentication HOT 1
- Deployer 7.3.1 is missing in the manifest HOT 2
- `options` is not working HOT 1
- Puzzling ssh fail HOT 1
- GitHub Actions' native `run` HOT 3
- Check composer global home for dep binary as well
- `Invalid JSON in options` error when omitting the options input entirely HOT 1
- Node.js 16 actions are deprecated -> use Node.js 20 instead HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action.