[wip] debug ci
This commit is contained in:
parent
7ad3665e36
commit
22a20d0945
1 changed files with 1 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ skip_clone: true
|
|||
steps:
|
||||
app-deploy:
|
||||
image: deblan/mage
|
||||
secrets: [ssh_user, ssh_host, ssh_priv_key, app_directory]
|
||||
secrets: [ssh_user, ssh_host, ssh_priv_key]
|
||||
volumes: *volumes
|
||||
commands:
|
||||
- cd "/builds/$CI_COMMIT_SHA"
|
||||
|
|
@ -21,5 +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
|
||||
- sed -i "s#app_directory#$APP_DIRECTORY#g" .mage.yml
|
||||
- mage deploy "$CI_PIPELINE_DEPLOY_TARGET"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue