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:
parent
be8eaddb41
commit
cb8585bf33
6
.github/workflows/build-package.yml
vendored
6
.github/workflows/build-package.yml
vendored
@ -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
|
||||
|
@ -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/"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user