From 4130a8c5c9586c7f0a0496a97b2d6b9b3ea6e382 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 9 Apr 2023 13:59:42 +0700 Subject: [PATCH] exclude mypy_cache from deploy --- deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy.sh b/deploy.sh index 3f258b7c..bbc27d5b 100755 --- a/deploy.sh +++ b/deploy.sh @@ -26,6 +26,7 @@ function sync_blackhole { --exclude "**/cache" \ --exclude "**/__pycache__/" \ --exclude "db.sqlite3" \ + --exclude ".mypy_cache" \ . -e ssh "$host":tubearchivist ssh "$host" 'docker build -t bbilly1/tubearchivist --build-arg TARGETPLATFORM="linux/amd64" tubearchivist' @@ -49,6 +50,7 @@ function sync_test { --exclude "**/cache" \ --exclude "**/__pycache__/" \ --exclude "db.sqlite3" \ + --exclude ".mypy_cache" \ . -e ssh "$host":tubearchivist # copy default docker-compose file if not exist