diff options
author | Alan Pearce | 2023-07-01 09:57:26 +0200 |
---|---|---|
committer | Alan Pearce | 2023-07-01 09:57:26 +0200 |
commit | 81f06727b23d4bff79d5c331d3257fcf1b505c61 (patch) | |
tree | 9fe1eb5f797f96ccdd6dacc57d2c87bd2434224a | |
parent | 55f901bcc06ad8e61de62f9fc88049c1034c1bac (diff) | |
download | website-81f06727b23d4bff79d5c331d3257fcf1b505c61.tar.lz website-81f06727b23d4bff79d5c331d3257fcf1b505c61.tar.zst website-81f06727b23d4bff79d5c331d3257fcf1b505c61.zip |
Enable Makefile tracking of deployments with .deploystamp
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Makefile | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore index c510874..81ff1e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/public/ - +/public +/.deploystamp .direnv /result diff --git a/Makefile b/Makefile index 9dca674..2b83f82 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,10 @@ compress: $(brotli_files) $(gzip_files) $(zstd_files) install: compress -deploy: build format compress - rsync --archive --delete public/ pappel.alanpearce.eu:/srv/http/alanpearce.eu +deploy: .deploystamp + +.deploystamp: build format compress + fly deploy + touch .deploystamp .PHONY: all clean build format compress install deploy |