pigeon/.woodpecker.yml
Gregory Ballantine eb25a475ab
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Updated Woodpecker config to chill on the email notifications and added step to publish releases
2022-03-07 12:04:06 -05:00

38 lines
797 B
YAML

pipeline:
setup:
image: composer:2.2
commands:
- composer install
- mkdir test
- touch test/results.txt
phpcs:
group: test
image: composer:2.2
commands:
- composer run-script phpcs >> test/results.txt
phpmd:
group: test
image: composer:2.2
commands:
- composer run-script phpmd >> test/results.txt
notify:
image: drillster/drone-email
host: smtp.int.metaunix.net
skip_verify: true
from: drone@ci-v1.int.metaunix.net
attachment: test/results.txt
when:
status: [ changed, failure ]
gitea_release:
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://git.metaunix.net
title: "${CI_COMMIT_TAG}"
when:
event: tag