mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Makefile: only skip the Hugo cache during deploys
This commit is contained in:
parent
6c9a8a9b20
commit
a1b6a89a66
1 changed files with 2 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -4,7 +4,6 @@ DEVSERVER_URL="http://localhost:1313/"
|
||||||
|
|
||||||
DOMAIN = seirdy.one
|
DOMAIN = seirdy.one
|
||||||
HUGO_BASEURL = "https://$(DOMAIN)/"
|
HUGO_BASEURL = "https://$(DOMAIN)/"
|
||||||
HUGO_FLAGS = --gc --ignoreCache
|
|
||||||
USER = deploy@$(DOMAIN)
|
USER = deploy@$(DOMAIN)
|
||||||
WWW_ROOT = /var/www/$(DOMAIN)
|
WWW_ROOT = /var/www/$(DOMAIN)
|
||||||
GEMINI_ROOT = /srv/gemini/$(DOMAIN)
|
GEMINI_ROOT = /srv/gemini/$(DOMAIN)
|
||||||
|
@ -145,7 +144,7 @@ deploy: deploy-html deploy-gemini
|
||||||
.PHONY: .prepare-deploy
|
.PHONY: .prepare-deploy
|
||||||
.prepare-deploy:
|
.prepare-deploy:
|
||||||
@$(MAKE) clean
|
@$(MAKE) clean
|
||||||
@$(MAKE) hugo
|
@$(MAKE) HUGO_FLAGS='--gc --ignoreCache' hugo
|
||||||
@$(MAKE) xhtmlize
|
@$(MAKE) xhtmlize
|
||||||
|
|
||||||
# deploy steps need to happen one at a time
|
# deploy steps need to happen one at a time
|
||||||
|
@ -187,5 +186,5 @@ lint-and-deploy-staging:
|
||||||
.PHONY: deploy-envs
|
.PHONY: deploy-envs
|
||||||
deploy-envs:
|
deploy-envs:
|
||||||
@$(MAKE) -j1 HUGO_FLAGS='' USER=seirdy@envs.net WWW_ROOT=/home/seirdy/public_html GEMINI_ROOT=/home/seirdy/public_gemini HUGO_BASEURL='https://envs.net/~seirdy/' OUTPUT_DIR=public_envs .prepare-deploy copy-to-xhtml
|
@$(MAKE) -j1 HUGO_FLAGS='' USER=seirdy@envs.net WWW_ROOT=/home/seirdy/public_html GEMINI_ROOT=/home/seirdy/public_gemini HUGO_BASEURL='https://envs.net/~seirdy/' OUTPUT_DIR=public_envs .prepare-deploy copy-to-xhtml
|
||||||
@$(MAKE) HUGO_FLAGS='' USER=seirdy@envs.net WWW_ROOT=/home/seirdy/public_html GEMINI_ROOT=/home/seirdy/public_gemini HUGO_BASEURL='https://envs.net/~seirdy/' OUTPUT_DIR=public_envs html-validate validate-html validate-json lint-css
|
@$(MAKE) HUGO_FLAGS='' USER=seirdy@envs.net WWW_ROOT=/home/seirdy/public_html GEMINI_ROOT=/home/seirdy/public_gemini HUGO_BASEURL='https://envs.net/~seirdy/' OUTPUT_DIR=public_envs html-validate validate-html validate-json
|
||||||
@$(MAKE) SSHFLAGS='-o KexAlgorithms=curve25519-sha256@libssh.org' HUGO_FLAGS='' USER=seirdy@envs.net WWW_ROOT=/home/seirdy/public_html GEMINI_ROOT=/home/seirdy/public_gemini HUGO_BASEURL='https://envs.net/~seirdy/' OUTPUT_DIR=public_envs deploy
|
@$(MAKE) SSHFLAGS='-o KexAlgorithms=curve25519-sha256@libssh.org' HUGO_FLAGS='' USER=seirdy@envs.net WWW_ROOT=/home/seirdy/public_html GEMINI_ROOT=/home/seirdy/public_gemini HUGO_BASEURL='https://envs.net/~seirdy/' OUTPUT_DIR=public_envs deploy
|
||||||
|
|
Loading…
Reference in a new issue