diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7de5283..545dd6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,4 @@ jobs: - name: Run Install Script run: | - echo "$HOME" - ls -la "$HOME" - curl -fsSL "https://raw.githubusercontent.com/ikanago/dotfiles/${{ github.ref_name }}/install.sh" | bash + ./install.sh diff --git a/install.sh b/install.sh index 013f0ae..0f12331 100755 --- a/install.sh +++ b/install.sh @@ -16,10 +16,7 @@ function install_chezmoi() { ensure_command "curl" echo "Install chezmoi" - sh -c "$(curl -fsLS get.chezmoi.io/lb)" - echo "Clone dotfiles repo" - ls -la "$HOME/.local/bin" - $HOME/.local/bin/chezmoi init https://github.com/ikanago/dotfiles.git + sh -c "$(curl -fsLS get.chezmoi.io/lb)" -- init --apply ikanago echo "dotfiles are cloned to $dotfiles_dir" }