You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
485 B
22 lines
485 B
kind: pipeline
|
|
type: docker
|
|
name: Deploiement
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
steps:
|
|
- name: code-check
|
|
image: php:8.3-cli
|
|
commands:
|
|
- php -l -d display_errors=On -d log_errors=Off -d error_reporting=E_ALL $(find . -name '*.php')
|
|
- echo "Code verification completed."
|
|
|
|
- name: code-analysis
|
|
image: aosapps/drone-sonar-plugin
|
|
settings:
|
|
sonar_host:
|
|
from_secret: Wikifantasy_sonar_host
|
|
sonar_token:
|
|
from_secret: Wikifantasy_sonar_token |