From 768ba5d70579bcc48cfc677790fa805002fb2576 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 29 Mar 2024 12:54:30 +0100 Subject: [PATCH] update mage conf --- .mage.yml.dist | 3 ++- .woodpecker/deploy.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.mage.yml.dist b/.mage.yml.dist index ad22570..3034e89 100644 --- a/.mage.yml.dist +++ b/.mage.yml.dist @@ -1,5 +1,6 @@ magephp: - environments: + log_dir: /tmp + environments: prod: user: ssh_user from: ./ diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 4bd5839..a57f874 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -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)