From 968123b0aac9bd56383b3e991f2fb0867ecc4a57 Mon Sep 17 00:00:00 2001 From: nakamina Date: Sun, 1 Oct 2023 12:18:59 +0900 Subject: [PATCH] update for CI --- .github/workflows/ci.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f83afcf..0f24fc4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,8 +28,18 @@ jobs: # "${CHECMOI_CMD}" init nakamina/dotfiles --promptString "Email address"="${EMAIL_ADDRESS}" - - name: Run chezmoi apply + - name: Run `chezmoi apply` env: DOTFILES_DEBUG: 1 run: | + # + # the `age` command requires a tty, but there is no tty in the github actions. + # Therefore, it is currnetly difficult to decrypt the files encrypted with `age` in this workflow. + # I decided to temporarily remove the encrypted target files from chezmoi's control. + # + find "$(${CHECMOI_CMD} source-path)" -type f -name "encrypted_*" -exec rm -fv {} + + + # + # run `chezmoi apply` + # "${CHECMOI_CMD}" apply