Page MenuHomePhorge

D2710.1774828320.diff
No OneTemporary

Authored By
Unknown
Size
500 B
Referenced Files
None
Subscribers
None

D2710.1774828320.diff

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

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)

Event Timeline