avoid backing up .yarn, Craft runtime data and .next caching
This commit is contained in:
parent
647212def1
commit
0c1cce8ab4
|
@ -16,6 +16,9 @@ echo "packup starting up, targeting: $@"
|
|||
tar \
|
||||
--exclude=node_modules \
|
||||
--exclude=vendor \
|
||||
--exclude=.yarn \
|
||||
--exclude=storage/runtime \
|
||||
--exclude=.next \
|
||||
-c $@ -P | \
|
||||
pv -s $(du -csb $@ | grep total | awk '{print $1}') \
|
||||
> packup-archive-$(date --iso-8601).tar
|
||||
|
|
Loading…
Reference in a new issue