Linux:
yes | php artisan key:generate
if ! grep -qc "^APP_KEY=.*$" .env; then php artisan key:generate; fi
Linux:
yes | php artisan key:generate
if ! grep -qc "^APP_KEY=.*$" .env; then php artisan key:generate; fi
Sai php version khi chạy job, do lấy sai path
[[runners]]
name = "W3_WIN@DEV"
url = "http://dev.suga.vn:9999/"
token = "RUfCTqzomV7xH8vn6X_8"
executor = "shell"
shell = "cmd"
pre_build_script = "set Path=C:\\Program Files\\WinRAR;C:\\phpapache;%Path%"
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
Lỗi sai script trên windows là do runner từ 11.11.4 sd shell =
powershell
làm mặc định thay vìcmd
. Có thể sửa trongconfig.toml