add installed check #567
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run chezmoi | |
on: | |
- push | |
jobs: | |
install: | |
permissions: | |
pull-requests: write | |
name: Install dotfiles | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y zsh | |
- name: Install dotfiles | |
id: install | |
run: sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply -S . | |
shell: zsh {0} |