Merge pull request 'index.php v2' (#2) from mitch into develop
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

Reviewed-on: https://gitea.mitchecp.com/gitea/test/pulls/2
This commit is contained in:
gitea 2026-07-06 23:17:32 +00:00
commit 91c542b82e
2 changed files with 14 additions and 2 deletions

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-user && touch aaa.txt"
when:
branch:
- develop
event:
- push

View File

@ -1,2 +1,2 @@
<?php
echo "Hello, World! - 1";
echo "Hello, World! - v2";