Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117405918
D2710.1774828320.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
500 B
Referenced Files
None
Subscribers
None
D2710.1774828320.diff
View Options
diff --git a/src/.s2i/bin/assemble b/src/.s2i/bin/assemble
--- a/src/.s2i/bin/assemble
+++ b/src/.s2i/bin/assemble
@@ -38,6 +38,14 @@
./artisan data:import:open-exchange-rates
fi
+if [ ! -z "${OAUTH_PRIVATE_KEY}" ]; then
+ echo "${OAUTH_PRIVATE_KEY}" > ./storage/oauth-private.key
+fi
+
+if [ ! -z "${OAUTH_PUBLIC_KEY}" ]; then
+ echo "${OAUTH_PUBLIC_KEY}" > ./storage/oauth-public.key
+fi
+
echo "---->> Run npm run prod"
npm install
npm run ${LARAVEL_ENV:=prod} && rm -rf ~/.npm/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 29, 11:52 PM (3 d, 18 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18779886
Default Alt Text
D2710.1774828320.diff (500 B)
Attached To
Mode
D2710: Seed oauth public/private keys from env variable in assemble script
Attached
Detach File
Event Timeline