chmod secrets.mk
This commit is contained in:
parent
0c93338e86
commit
9c2b1fb60f
3
Makefile
3
Makefile
|
@ -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)"; \
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue