Skip to content

Commit

Permalink
remove old logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dachosen1 committed Jul 8, 2024
1 parent b918800 commit c5ad69a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,5 @@ jobs:
cd .. && cd /home/nearquake &&
git pull origin master &&
sudo docker compose up -d --build &&
sudo docker image prune -f &&
find /var/log/nearquake -name "*.log" -type f -mtime +30 -exec rm {} \;
sudo docker image prune -f;
'

0 comments on commit c5ad69a

Please sign in to comment.