Skip to content

Commit

Permalink
Fix chezmoi installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmena1 committed Mar 14, 2024
1 parent 65039ed commit 82cb7a4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,5 @@ jobs:
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: Install chezmoi
run: sh -c "$(curl -fsLS chezmoi.io/get)"

- name: Initialize chezmoi with the current branch content
run: chezmoi init --apply https://github.com/${{ github.repository }}/tree/${{ steps.extract_branch.outputs.branch }}
run: sh -c "$(curl -fsLS chezmoi.io/get)" -- init --apply https://github.com/${{ github.repository }}/tree/${{ steps.extract_branch.outputs.branch }}

0 comments on commit 82cb7a4

Please sign in to comment.