This commit is contained in:
parent
b97d7a9872
commit
f8413e4bf2
|
@ -42,7 +42,7 @@ pipeline:
|
|||
- yarn
|
||||
- npm run build
|
||||
|
||||
deploy_prod:
|
||||
deploy:
|
||||
image: deblan/php:8.1
|
||||
secrets: [ssh_user, ssh_host, ssh_priv_key, app_directory]
|
||||
commands:
|
||||
|
@ -57,7 +57,7 @@ pipeline:
|
|||
- sed -i "s#app_directory#$APP_DIRECTORY#g" .mage.yml
|
||||
- /root/.config/composer/vendor/bin/mage deploy "$CI_BUILD_DEPLOY_TARGET"
|
||||
when:
|
||||
event: [deploy]
|
||||
event: [deployment]
|
||||
|
||||
services:
|
||||
db:
|
||||
|
|
Loading…
Reference in a new issue