Merge pull request #14543 from Art4/fix-continous-deployment-pipeline

Fix composer installation in woodpecker pipelines
This commit is contained in:
Michael Vogel 2024-11-11 00:08:42 +01:00 committed by GitHub
commit c6754fe838
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -45,6 +45,7 @@ steps:
composer_install: composer_install:
image: friendicaci/php8.2:php8.2.16 image: friendicaci/php8.2:php8.2.16
commands: commands:
- mkdir addon # create empty addon folder to appease composer
- export COMPOSER_HOME=.composer - export COMPOSER_HOME=.composer
- composer validate - composer validate
- composer install --no-dev --optimize-autoloader - composer install --no-dev --optimize-autoloader

View file

@ -43,6 +43,7 @@ steps:
composer_install: composer_install:
image: friendicaci/php8.2:php8.2.16 image: friendicaci/php8.2:php8.2.16
commands: commands:
- mkdir addon # create empty addon folder to appease composer
- export COMPOSER_HOME=.composer - export COMPOSER_HOME=.composer
- composer validate - composer validate
- composer install --no-dev --optimize-autoloader - composer install --no-dev --optimize-autoloader