chmod secrets.mk

This commit is contained in:
Andreas Neue 2023-05-10 10:39:04 +02:00
parent 0c93338e86
commit 9c2b1fb60f
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@ endif
if test -z "${$(var)}"; then \ if test -z "${$(var)}"; then \
echo "Missing mandatory variable: $(var)"; \ echo "Missing mandatory variable: $(var)"; \
exit 1; \ exit 1; \
fi; \ fi; \
) )
prerequisites: prerequisites:
@ -30,6 +30,7 @@ prerequisites:
prepare: prepare:
@- echo "\n### preparing ..." @- echo "\n### preparing ..."
@- chmod 600 secrets.mk
@- $(foreach host,$(DEPLOY_HOSTS), \ @- $(foreach host,$(DEPLOY_HOSTS), \
ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH); mkdir $(DEPLOY_NAME)"; \ ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH); mkdir $(DEPLOY_NAME)"; \
) )