Skip to content

Commit db51db2

Browse files
committed
adjust featured plugins + remove plugin pill from package tile + add auto deploy config
1 parent 83cb29d commit db51db2

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'deploy'
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Cloning repo
13+
uses: actions/checkout@v6
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Push to dokku
18+
uses: dokku/github-action@master
19+
with:
20+
git_remote_url: 'ssh://dokku@apps.cakephp.org:22/plugins'
21+
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}

config/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
'lordsimal/cakephp-sentry',
102102
'friendsofcake/cakepdf',
103103
'friendsofcake/crud',
104+
'friendsofcake/search',
104105
'cakedc/users',
105106
],
106107
],

templates/element/Packages/package-tile.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<article class="group flex h-full flex-col overflow-hidden rounded-3xl border border-slate-200 bg-white shadow-sm transition hover:-translate-y-1 hover:shadow-lg">
1111
<a class="block border-b border-slate-200 bg-slate-50 px-5 py-4 transition group-hover:bg-white"
1212
target="_blank" rel="noopener noreferrer" href="<?= h($package->repo_url) ?>">
13-
<div class="flex items-start justify-between gap-4">
13+
<div class="flex items-start justify-start gap-4">
1414
<div class="min-w-0">
1515
<div class="flex flex-wrap items-center gap-2">
1616
<h2 class="truncate text-lg font-semibold text-slate-950 transition group-hover:text-cake-red">
@@ -23,9 +23,6 @@
2323
<?php endif; ?>
2424
</div>
2525
</div>
26-
<span class="shrink-0 rounded-full border border-slate-200 bg-white px-2.5 py-1 text-xs font-medium text-slate-600">
27-
<?= __('Plugin') ?>
28-
</span>
2926
</div>
3027
</a>
3128

0 commit comments

Comments
 (0)