Page MenuHomePhorge

D2710.1776913026.diff
No OneTemporary

Authored By
Unknown
Size
514 B
Referenced Files
None
Subscribers
None

D2710.1776913026.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}" > /tmp/src/storage/oauth-private.key
+fi
+
+if [ ! -z "${OAUTH_PUBLIC_KEY}" ]; then
+ echo "${OAUTH_PUBLIC_KEY}" > /tmp/src/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
Thu, Apr 23, 2:57 AM (15 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18825136
Default Alt Text
D2710.1776913026.diff (514 B)

Event Timeline