oliverdavies.uk-drupal/build.yaml
Oliver Davies cc2e182cad
Some checks are pending
CI / Build and test (push) Waiting to run
feat: add Drupal files
2023-10-12 22:53:35 +01:00

45 lines
627 B
YAML

name: docker-example-drupal
language: php
type: drupal
web:
type: nginx
database:
type: mariadb
version: 10
php:
version: 8.1-fpm-bullseye
phpcs:
paths:
- web/modules/custom
standards:
- Drupal
- DrupalPractice
phpstan:
level: max
paths:
- web/modules/custom
drupal:
docroot: web
docker-compose:
services:
- database
- php
- web
dockerfile:
stages:
build:
commands:
- composer validate
- composer install
experimental:
createGitHubActionsConfiguration: true
runGitHooksBeforePush: true
useNewDatabaseCredentials: true