diff --git a/.drone.yml b/.drone.yml index eeb7bf1..380e9fa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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