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