From 428252957a2c19a02a3a1cb845566a6d6c253599 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Thu, 30 Dec 2021 17:15:37 +0000 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20change=20permissions=20back=20t?= =?UTF-8?q?o=20user?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 64872ccf..995e8306 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -139,5 +139,4 @@ jobs: key: ${{ secrets.DEPLOYMENT_KEY }} script: | cd ${{ env.releasesDir }} - ls -dt ${{ env.releasesDir }}/* | tail -n +4 | xargs -d "\n" sudo chown -R ${{ secrets.DEPLOYMENT_USER }} .; ls -dt ${{ env.releasesDir }}/* | tail -n +4 | xargs -d "\n" rm -rf;