From 7653af16fc463301063c357ff2ebef027a1749d4 Mon Sep 17 00:00:00 2001 From: harryob <55142896+harryob@users.noreply.github.com> Date: Mon, 26 Feb 2024 00:57:20 +0000 Subject: [PATCH] moves some stuff around --- .github/workflows/compile_dotfiles.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/compile_dotfiles.yml b/.github/workflows/compile_dotfiles.yml index 0a1441c..e2b4d77 100644 --- a/.github/workflows/compile_dotfiles.yml +++ b/.github/workflows/compile_dotfiles.yml @@ -9,6 +9,11 @@ jobs: name: Compile Dotfles runs-on: macos-latest steps: + - name: Checkout Output Branch + uses: actions/checkout@v3 + with: + ref: compiled + - name: Install Chezmoi run: sh -c "$(curl -fsLS get.chezmoi.io)" @@ -16,18 +21,10 @@ jobs: run: ./bin/chezmoi init harryob - name: Output Dotfiles - run: mkdir output && ./bin/chezmoi apply --destination output - - - name: Checkout Output Branch - uses: actions/checkout@v3 - with: - ref: compiled + run: mkdir output && ./bin/chezmoi apply --destination . - name: Move Output and Commit run: | - echo $PWD - ls -la - mv output/* . git config user.name github-actions git config user.email github-actions@github.com git add .