Set storage link writable as http user
This commit is contained in:
parent
e238512312
commit
750eafea04
1 changed files with 1 additions and 0 deletions
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
|
@ -72,6 +72,7 @@ jobs:
|
|||
rm -rf ${{ env.newReleaseDir }}/storage;
|
||||
cd ${{ env.newReleaseDir }};
|
||||
ln -nfs ${{ secrets.DEPLOYMENT_BASE_DIR }}/persistent/storage storage;
|
||||
sudo chown --no-dereference ${{ secrets.HTTP_USER }}:${{ secrets.HTTP_USER }} storage
|
||||
|
||||
# Remove the public/profile-images directory and replace with persistent data
|
||||
rm -rf ${{ env.newReleaseDir }}/public/assets/profile-images;
|
||||
|
|
Loading…
Add table
Reference in a new issue