From d8d3b767a04b9cb838337e3802da8325b55084e3 Mon Sep 17 00:00:00 2001 From: harryob <55142896+harryob@users.noreply.github.com> Date: Mon, 26 Feb 2024 01:05:55 +0000 Subject: [PATCH] perhaps this --- .github/workflows/compile_dotfiles.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile_dotfiles.yml b/.github/workflows/compile_dotfiles.yml index cec6c82..5bdfef4 100644 --- a/.github/workflows/compile_dotfiles.yml +++ b/.github/workflows/compile_dotfiles.yml @@ -13,18 +13,23 @@ jobs: uses: actions/checkout@v3 with: ref: compiled + run: | + cp README.md ~/README.md + git rm -rf . + cp ~/README.md README.md - name: Install Chezmoi run: sh -c "$(curl -fsLS get.chezmoi.io)" - name: Initialise Dotfiles - run: ./bin/chezmoi init harryob -P + run: ./bin/chezmoi init harryob - name: Output Dotfiles run: mkdir output && ./bin/chezmoi apply --destination . - name: Move Output and Commit run: | + rm -rf bin git config user.name github-actions git config user.email github-actions@github.com git add .