diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8f27c682..dd56b3e8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -72,6 +72,7 @@ jobs: rm -rf ${{ env.newReleaseDir }}/storage; cd ${{ env.newReleaseDir }}; ln -nfs ${{ secrets.DEPLOYMENT_BASE_DIR }}/persistent/storage storage; + sudo chown ${{ 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;