Compare commits

...

2 Commits

Author SHA1 Message Date
Philipp Lang 277259320a Fixed: Age group membership should be active
continuous-integration/drone/push Build is failing Details
2023-06-15 15:22:47 +02:00
Philipp Lang 45a1e165fa Add deploy for dpsgbergischland 2023-06-15 15:19:54 +02:00
2 changed files with 19 additions and 1 deletions

View File

@ -144,6 +144,24 @@ steps:
branch: master
event: push
- name: deploy dpsgbergischland
image: drillster/drone-rsync
settings:
hosts: ['zoomyboy.de']
user: dpsgbergischland
source: ./
target: ~/adrema
exclude: ['.git']
key:
from_secret: deploy_private_key
script:
- cd ~/adrema
- /usr/bin/php8.1 artisan migrate --force
- sudo systemctl restart adremabl-queue
when:
branch: master
event: push
- name: github push
image: alpine/git
environment:

View File

@ -282,7 +282,7 @@ class Member extends Model implements Geolocatable
*/
public function ageGroupMemberships(): HasMany
{
return $this->memberships()->isAgeGroup();
return $this->memberships()->isAgeGroup()->active();
}
public static function booted()