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;