emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/with-editor 22a581d 076/140: make: Remove deleted pages wh


From: Jonas Bernoulli
Subject: [nongnu] elpa/with-editor 22a581d 076/140: make: Remove deleted pages when publishing manual
Date: Fri, 6 Aug 2021 12:51:23 -0400 (EDT)

branch: elpa/with-editor
commit 22a581d4b32d8eb3d9647c13bc30900cde3ae191
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    make: Remove deleted pages when publishing manual
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 602c58c..dd4b8be 100644
--- a/Makefile
+++ b/Makefile
@@ -118,12 +118,12 @@ PREVIEW_TARGET ?= $(PREVIEW_BUCKET)$(PUBLISH_PATH)
 preview: html html-dir pdf
        @aws s3 cp $(PKG).html $(PREVIEW_TARGET)
        @aws s3 cp $(PKG).pdf $(PREVIEW_TARGET)
-       @aws s3 sync $(PKG) $(PREVIEW_TARGET)$(PKG)/
+       @aws s3 sync --delete $(PKG) $(PREVIEW_TARGET)$(PKG)/
 
 publish: html html-dir pdf
        @aws s3 cp $(PKG).html $(PUBLISH_TARGET)
        @aws s3 cp $(PKG).pdf $(PUBLISH_TARGET)
-       @aws s3 sync $(PKG) $(PUBLISH_TARGET)$(PKG)/
+       @aws s3 sync --delete $(PKG) $(PUBLISH_TARGET)$(PKG)/
        @printf "Generating CDN invalidation\n"
        @aws cloudfront create-invalidation \
        --distribution-id $(CFRONT_DIST) --paths "\



reply via email to

[Prev in Thread] Current Thread [Next in Thread]