From e03dc5d7d596913586303c730f86045538962a01 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Wed, 29 Dec 2021 18:14:14 +0000 Subject: [PATCH] Try normal chown of storage dir symlink --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) 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;