Skip to content

Commit 11fcfe4

Browse files
committed
Don't upload .git file to GCS
1 parent 63101ef commit 11fcfe4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ NAME := kubernetes-101
22
GS_BUCKET := slides.eightypercent.net
33

44
upload-nocache:
5-
gsutil -m -h "Cache-Control:private, max-age=0" rsync -c -r . gs://$(GS_BUCKET)/$(NAME)
5+
gsutil -m -h "Cache-Control:private, max-age=0" rsync -x '$\.git/' -c -r . gs://$(GS_BUCKET)/$(NAME)
66

77
upload:
8-
gsutil -m rsync -c -r . gs://$(GS_BUCKET)/$(NAME)
8+
gsutil -m rsync -x '$\.git/' -c -r . gs://$(GS_BUCKET)/$(NAME)
99

1010
copy:
1111
gsutil -m cp -r . gs://$(GS_BUCKET)/$(NAME)
1212

1313
release-zip:
1414
make-release-zip.sh
15-

0 commit comments

Comments
 (0)