Skip to content

Commit f64b94d

Browse files
committed
add exclude directory
1 parent 0b8a8a9 commit f64b94d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

deploy_static.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ export DJANGO_SETTINGS_MODULE="pythonkr_backend.settings.prod"
1919
./manage.py build
2020

2121
cd ~/bakery_static/build
22-
rsync -arv --exclude ./tr --exclude ./rssitem-crawling ./ ~/git-python.or.kr/web/
22+
rsync -arv \
23+
--exclude='tr/' \
24+
--exclude='rssitem-crawling/' \
25+
--delete-excluded \
26+
./ ~/git-python.or.kr/web/
2327
cd ~/git-python.or.kr/web
2428
git add ./
2529
git commit -m "upload"

0 commit comments

Comments
 (0)