Add Drone
This commit is contained in:
parent
ccc4a4328f
commit
59d821511b
1 changed files with 14 additions and 0 deletions
14
modules/Drone.php
Normal file
14
modules/Drone.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class Drone extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Drone.IO', 'Drone', 'https://drone.io/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://api.github.com/repos/drone/drone/tags', true))
|
||||
return $this->parse_json('name');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue