Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: 'Deploy to Production'
name: "Deploy to Production"

on:
push:
branches: [ master ]
branches: [master]

jobs:
deploy:
name: 'Deploy to Production'
name: "Deploy to Production"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -68,4 +68,4 @@ jobs:
echo $'Set up Links\n'
cd $RELEASE_DIR
sudo ln -nsf $RELEASE_DIR/$RELEASE "../current"
sudo service php7.4-fpm reload
sudo service php8.1-fpm reload
1 change: 1 addition & 0 deletions app/Models/MyBBModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public function getRecentNews(int $limit = 5, string $order = 'desc')
$query = $builder->select('tid, subject, username, lastpost, lastposter')
->where($where)
->whereIn('username', $admins)
->limit($limit, 0)
->orderBy('lastpost', $order)
->get();

Expand Down
Loading