Comments (3)
Until it's fixed you can use these steps to use the latest version of Deployer:
- name: Download `deployer.phar`
run: composer global require deployer/deployer:${{vars.DEPLOYER_VERSION}} --no-interaction --verbose --ansi
- name: Get composer global bin-dir path
id: composer-bin-dir
run: echo "path=$(composer global config bin-dir --absolute)" >> $GITHUB_OUTPUT
- name: Deploy
uses: deployphp/action@v1
with:
deployer-binary: ${{ steps.composer-bin-dir.outputs.path }}/dep
It's what I have in my pipeline.
from action.
Maybe I should have added this: To fix it for now I run a composer install
in the project, so the deployer binary from the vendor folder is used :-)
from action.
This doesn't seem to have been fixed yet in 7.3.1. Any idea when it will be without requiring the extra step above? For what it's worth, my workflow has the following to install composer dependencies but it doesn't seem to make a difference:
- name: Run Composer install for production
run: composer install -o -q --no-dev --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
from action.
Related Issues (20)
- 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
- Deploy failing HOT 18
- 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
- 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 2
- 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 2
- Node.js 16 actions are deprecated -> use Node.js 20 instead HOT 1
- Upgrade Node.js to version 20 HOT 3
- Curl error HOT 2
- Deleted
- Command "deploy" is not defined. 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.