Skip to content

Commit

Permalink
moves some stuff around
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Feb 26, 2024
1 parent 8078d8e commit 7653af1
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/compile_dotfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,22 @@ 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)"

- name: Initialise Dotfiles
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 [email protected]
git add .
Expand Down

0 comments on commit 7653af1

Please sign in to comment.