Compare commits
2 commits
ee7fb3b7b2
...
f752ece59d
Author | SHA1 | Date | |
---|---|---|---|
Simon Vieille | f752ece59d | ||
Simon Vieille | 768ba5d705 |
|
@ -1,5 +1,6 @@
|
|||
magephp:
|
||||
environments:
|
||||
log_dir: /tmp
|
||||
environments:
|
||||
prod:
|
||||
user: ssh_user
|
||||
from: ./
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue