Change just the cache folder
This commit is contained in:
parent
428252957a
commit
b58fc8a98b
1 changed files with 1 additions and 0 deletions
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
|
@ -139,4 +139,5 @@ jobs:
|
||||||
key: ${{ secrets.DEPLOYMENT_KEY }}
|
key: ${{ secrets.DEPLOYMENT_KEY }}
|
||||||
script: |
|
script: |
|
||||||
cd ${{ env.releasesDir }}
|
cd ${{ env.releasesDir }}
|
||||||
|
ls -dt ${{ env.releasesDir }}/* | tail -n +4 | xargs -d "\n" sudo chown -R ${{ secrets.HTTP_USER }}:${{ secrets.HTTP_USER }} ./bootstrap/cache;
|
||||||
ls -dt ${{ env.releasesDir }}/* | tail -n +4 | xargs -d "\n" rm -rf;
|
ls -dt ${{ env.releasesDir }}/* | tail -n +4 | xargs -d "\n" rm -rf;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue