I am quite new to laravel deployment using this CI/CD lorisleiva/laravel-deployer. I don't know why my code on server doesn't update when doing php vendor/bin/dep deploy staging while it is successfully deployed.
Here is my deploy.yaml
import:
- recipe/laravel.php
config:
application: 'application-name'
repository: 'repo'
remote_user: ubuntu
base_deploy_path: '/var/www'
hosts:
prod:
hostname: 'ip'
deploy_path: '/'
staging:
hostname: 'ip'
deploy_path: '/-dev'
I wonder why is it that it don't update my code. Thanks for the help. Screenshot
source https://stackoverflow.com/questions/70595852/cannot-update-code-with-lorisleiva-laravel-deployer-when-deploying
Comments
Post a Comment