From f050cff172eb0da76996c0ff60f93a06ea779a7d Mon Sep 17 00:00:00 2001 From: nakamina Date: Sat, 30 Sep 2023 23:51:03 +0900 Subject: [PATCH] update --- .github/workflows/ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 84b7975..6583bec 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,5 +18,8 @@ jobs: EMAIL_ADDRESS: ${{ secrets.EMAIL_ADDRESS }} DOTFILES_DEBUG: 1 run: | - printf '${EMAIL_ADDRESS}\n' | sh -c "$(curl -fsLS get.chezmoi.io)" -- \ + cmd="$(curl -fsLS get.chezmoi.io)" + find "$(sh -c ${cmd} source-path)" -type f -name "encrypted_*" -exec rm -fv {} + + + printf '${EMAIL_ADDRESS}\n' | sh -c "${cmd}" -- \ init --apply --purge-binary --force --no-tty --source-path $GITHUB_WORKSPACE