1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-04-21 23:42:10 +02:00

Optimize storage permissions for release packages

This commit is contained in:
Kevin Woblick 2025-02-26 09:04:58 +01:00
parent be8eaddb41
commit cb8585bf33
2 changed files with 5 additions and 3 deletions

View File

@ -46,8 +46,10 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest --no-dev
- name: Publish package configuration
run: 'php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider"'
- name: Prepare dependencies and general application requirements
run: |
php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider"
chmod -R 0766 storage
- name: Remove .env file
run: rm .env

View File

@ -68,7 +68,7 @@ COPY --chown=www-data:www-data ./public /app/public
COPY --chown=www-data:www-data ./lang /app/lang
COPY --chown=www-data:www-data ./resources /app/resources
COPY --chown=www-data:www-data ./routes /app/routes
COPY --chown=www-data:www-data ./storage /app/storage
COPY --chown=www-data:www-data --chmod=0777 ./storage /app/storage
COPY --chown=www-data:www-data ["./artisan", "./composer.json", "./composer.lock", "./README.md", "./LICENSE.md", "./package.json", "/app/"]