Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
3
3f-timesheet
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dockers
3f-timesheet
Commits
c0f322f7
Commit
c0f322f7
authored
Jul 02, 2026
by
shameelaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add github token
parent
ca7fb2ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
entrypoint.sh
+5
-3
No files found.
entrypoint.sh
View file @
c0f322f7
#!/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..."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment