.woodpecker.yml

This commit is contained in:
mitch 2026-07-06 16:16:13 -07:00
parent a6c38b5839
commit 8c4d81d3e0

View File

@ -5,8 +5,20 @@ steps:
# commands:
# - echo "Woodpecker is working!"
# PHPのLintテスト
# PHP構文チェック
php-lint:
image: php:8.3-cli
commands:
- find . -name "*.php" -print0 | xargs -0 -n1 php -l
# 本番デプロイ
deploy:
image: alpine:latest
commands:
- apk add --no-cache openssh-client
- ssh ec2-user@gitea.mitchecp.com "cd /home/ec2-usera && touch aaa.txt"
when:
branch:
- master
event:
- push