update mage conf
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Simon Vieille 2024-03-29 12:54:30 +01:00
parent 6b0fd815d3
commit 768ba5d705
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
magephp:
environments:
log_dir: /tmp
environments:
prod:
user: ssh_user
from: ./

View file

@ -21,4 +21,4 @@ steps:
- cp .mage.yml.dist .mage.yml
- sed -i "s/ssh_user/$SSH_USER/g" .mage.yml
- sed -i "s/ssh_host/$SSH_HOST/g" .mage.yml
- mage deploy "$CI_PIPELINE_DEPLOY_TARGET"
- mage deploy "$CI_PIPELINE_DEPLOY_TARGET" || (cat /tmp/* && exit 1)