Skip to content

Commit

Permalink
update for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nakamina committed Oct 1, 2023
1 parent 66e3381 commit 968123b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 968123b

Please sign in to comment.