apt-get install pv nginx-extras \
php-fpm php-gd php-mbstring php-cli php-mysql php-zip php-xml \
mariadb-server mariadb-client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Website | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
name: Deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class DirectoryNotFoundException extends Exception { | |
public function __construct($directory) { | |
$message = "Directory not found: " . $directory; | |
parent::__construct($message); | |
} | |
} | |
class Helpers { |