wip: Do Permission Stuff at the End
continuous-integration/drone/push Build is failing Details

main
Flycro 2024-03-21 01:16:19 +01:00
parent bffcd2f414
commit 62042f3457
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,6 @@ steps:
- composer install
- pnpm install
- chown -R flycro:www-data /var/www/html/bookstack.octolabs.net
- find /var/www/html/bookstack.octolabs.net -type f -exec chmod 664 {} \\;
- find /var/www/html/bookstack.octolabs.net -type d -exec chmod 775 {} \\;
- docker compose -f docker-compose-production.yml down
- docker compose -f docker-compose-production.yml build
- docker compose -f docker-compose-production.yml up -d
@ -24,4 +22,6 @@ steps:
- docker compose exec php php artisan optimize
- docker compose exec php php artisan storage:link
- pnpm run build
- find /var/www/html/bookstack.octolabs.net -type f -exec chmod 664 {} \\;
- find /var/www/html/bookstack.octolabs.net -type d -exec chmod 775 {} \\;
- pm2 restart ecosystem.config.js