Commit c0f322f7 by shameelaz

add github token

parent ca7fb2ed
#!/bin/bash
set -e
git config --global url."https://github.com/".insteadOf git@github.com:
git config --global http.sslVerify false
cd /var/www/html
# Set permissions
......@@ -12,6 +9,11 @@ find . -type f -exec chmod 664 {} \;
chown -R www-data:www-data storage bootstrap/cache
chmod -R 775 storage bootstrap/cache
# ADD THIS LINE HERE
if [ -n "$GITHUB_TOKEN" ]; then
composer config --global github-oauth.github.com "$GITHUB_TOKEN"
fi
# Composer install with platform requirements ignored
if [ ! -d "vendor" ]; then
echo "Installing Composer dependencies..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment