Merge branch 'develop'
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/deployment/deploy Pipeline failed

This commit is contained in:
Simon Vieille 2024-03-29 12:54:32 +01:00
commit f752ece59d
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)