Adds deploy method
Some checks failed
/ build (push) Failing after 1s

This commit is contained in:
Michel 2024-11-07 18:28:45 +01:00
parent d0c56d5d76
commit 59e639eed6
3 changed files with 37 additions and 7 deletions

14
deploy/deploy.sh Normal file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
docker run -it --rm --volume "$PWD":/app -w /app node npm install
docker run -it --rm --volume "$PWD":/app -w /app node npm run build
docker run -it --rm --volume "$PWD":/app -w /app composer composer install --ignore-platform-req=ext-gd
docker run \
--volume "$PWD":/app \
--rm \
--interactive \
--tty \
php:8.3-cli \
php /app/src/php/bin/doctrine.php orm:schema-tool:update --force