Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1841982
update.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
526 B
Referenced Files
None
Subscribers
None
update.sh
View Options
#!/bin/bash
set
-e
set
-x
rsync -av
\
--exclude
=
vendor
\
--exclude
=
composer.lock
\
--exclude
=
node_modules
\
--exclude
=
package-lock.json
\
--exclude
=
public
\
--exclude
=
storage
\
--exclude
=
resources/build
\
--exclude
=
bootstrap
\
--exclude
=
.gitignore
\
/src/kolabsrc.orig/ /src/kolabsrc/
|
tee /tmp/rsync.output
cd
/src/kolabsrc/
# Only run npm if something relevant was updated
if
grep -e
"package.json"
-e
"resources"
/tmp/rsync.output
;
then
npm run dev
fi
./artisan octane:reload
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Aug 25, 7:09 PM (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
223661
Default Alt Text
update.sh (526 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment