Skip to content

Commit 8cbec92

Browse files
update home in workflow
1 parent e1d0b34 commit 8cbec92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update_book.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- name: Copy contents of dev/ to home folder
2424
run: |
25-
yes | cp -rf dev ${{ runner.home }}
25+
yes | cp -rf dev $HOME
2626
2727
# Push update website to dev/ and clean out old commits
2828
- name: Update website to contents of dev, remove all old commits and subpages
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: copy dev/ website back in
3737
run: |
38-
yes | cp -rf ${{ runner.home }}/dev dev
38+
yes | cp -rf $HOME/dev dev
3939
4040
- name: push the result to gh-pages
4141
uses: stefanzweifel/git-auto-commit-action@v5

0 commit comments

Comments
 (0)