ci: deploy
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2022-12-28 16:51:33 +01:00
parent b97d7a9872
commit f8413e4bf2
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -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: