This file contains hidden or 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
{ | |
"af-ZA": { | |
"local": "Afrikaans", | |
"global": "Afrikaans" | |
}, | |
"am-ET": { | |
"local": "አማርኛ", | |
"global": "Amharic" | |
}, | |
"ar-AE": { |
This file contains hidden or 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
version: '3.7' | |
volumes: | |
kong_data: {} | |
kong_prefix_vol: | |
driver_opts: | |
type: tmpfs | |
device: tmpfs | |
kong_tmp_vol: | |
driver_opts: |
This file contains hidden or 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 | |
// Repository Update | |
shell_exec('/usr/local/cpanel/bin/uapi VersionControl update name=repo_name repository_root=/home/username/repositories/repo_name branch=master source_repository=\'{"remote_name":"origin"}\' | |
'); | |
// Deploy | |
shell_exec('/usr/local/cpanel/bin/uapi VersionControlDeployment create repository_root=/home/username/repositories/repo_name'); | |
echo "done"; | |
?> |