Skip to content

Commit eca9175

Browse files
authored
fix: ensure secrets directory is created before copying secrets (#201)
1 parent fcffd23 commit eca9175

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

resources/Secrets/common.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ SECRETS_DIR ?= ./.infra/secrets
99
SECRETS_DIST ?= .dist
1010

1111
secrets: $(patsubst %${SECRETS_DIST},%,$(wildcard ${SECRETS_DIR}/*.secret${SECRETS_DIST}))
12-
${SECRETS_DIR}/%.secret:
12+
${SECRETS_DIR}:
13+
mkdir -p $@
14+
${SECRETS_DIR}/%.secret: ${SECRETS_DIR}
1315
cp $@${SECRETS_DIST} $@

0 commit comments

Comments
 (0)