Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
Simon Vieille | 709db25313 | ||
Simon Vieille | b882badae5 | ||
Simon Vieille | 22a20d0945 |
9
.woodpecker/debug.yml
Normal file
9
.woodpecker/debug.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
steps:
|
||||
app-deploy:
|
||||
image: deblan/mage
|
||||
secrets: [ssh_user, ssh_host, ssh_priv_key]
|
||||
commands:
|
||||
- echo "/builds/$CI_COMMIT_SHA"
|
||||
- echo "$SSH_PRIV_KEY"
|
||||
- echo "$SSH_USER"
|
||||
- echo "$SSH_HOST"
|
|
@ -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…
Reference in a new issue