Skip to content

Commit c0dd581

Browse files
committed
doc: fixed theme initialization
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
1 parent 993af6c commit c0dd581

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/update-doc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ jobs:
6161
6262
# Clone theme
6363
curl -sL -o relearn.tgz https://github.com/McShelby/hugo-theme-relearn/archive/refs/tags/"${RELEARN_VERSION}".tar.gz
64-
tar xvf relearn.tgz
65-
mv "hugo-theme-relearn-${RELEARN_VERSION}" themes/hugo-theme-relearn
64+
tar xf relearn.tgz
65+
rm -rf themes/hugo-relearn
66+
mv "hugo-theme-relearn-${RELEARN_VERSION}" hugo-relearn
67+
mv hugo-relearn themes/
6668
-
6769
name: Prepare config
6870
run: |

0 commit comments

Comments
 (0)