From 06e1219b69a5ddaf21b719139ee97d6d63e34dde Mon Sep 17 00:00:00 2001 From: Marc Henry de Frahan Date: Fri, 26 Jan 2024 16:51:30 -0700 Subject: [PATCH] ok this --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccb7c6f..5a8a210 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,11 +22,8 @@ jobs: brew install chezmoi - name: Install run: | - echo ${GITHUB_REF##*/} - echo ${{ github.event.pull_request.base.ref }} - echo ${{ github.event.pull_request.head.ref }} - echo ${{github.ref_name}} - echo ${{github.head_ref}} - chezmoi init https://github.com/marchdf/dotfiles.git --branch ${GITHUB_REF##*/} --promptString email="" --promptBool use_zsh_root_dir=false + export BRANCH=${{ github.head_ref || github.ref_name }} + echo $BRANCH + chezmoi init https://github.com/marchdf/dotfiles.git --branch ${BRANCH} --promptString email="" --promptBool use_zsh_root_dir=false chezmoi data # chezmoi apply -v