Compare commits
2 Commits
d38989f302
...
277259320a
Author | SHA1 | Date |
---|---|---|
Philipp Lang | 277259320a | |
Philipp Lang | 45a1e165fa |
18
.drone.yml
18
.drone.yml
|
@ -144,6 +144,24 @@ steps:
|
||||||
branch: master
|
branch: master
|
||||||
event: push
|
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
|
- name: github push
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -282,7 +282,7 @@ class Member extends Model implements Geolocatable
|
||||||
*/
|
*/
|
||||||
public function ageGroupMemberships(): HasMany
|
public function ageGroupMemberships(): HasMany
|
||||||
{
|
{
|
||||||
return $this->memberships()->isAgeGroup();
|
return $this->memberships()->isAgeGroup()->active();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function booted()
|
public static function booted()
|
||||||
|
|
Loading…
Reference in New Issue