From 133bf96ae06b8f26f4aae684ad7a48fb38d04ac1 Mon Sep 17 00:00:00 2001 From: Joachim Hill-Grannec Date: Wed, 31 Jan 2024 15:00:51 -0600 Subject: [PATCH] feat: auto sops decrypt and cp start files --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8c4a78c..d5cc721 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -44,7 +44,7 @@ }, // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "yarn install --frozen-lockfile", + "postCreateCommand": "sops -d github-app-pelostage-local-credentials.enc.yaml > github-app-pelostage-local-credentials.yaml && cp app-config.local-example.yaml app-config.local.yaml && yarn install --frozen-lockfile", // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root"