ci: add base of deploy
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2022-12-28 13:50:15 +01:00
parent 26e3d7eab9
commit 646d6799b1
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 2 additions and 1 deletions

View file

@ -22,3 +22,4 @@ magephp:
- {ssh_host}
on-deploy:
- exec: { cmd: 'make clean', desc: 'cache' }
- exec: { cmd: 'make doctrine-migration', desc: 'migration' }

View file

@ -48,7 +48,7 @@ pipeline:
- 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
- cat .mage.yaml
- cat .mage.yml
# - /root/.config/composer/vendor/bin/mage
# when:
# event: [deploy]