Skip to content

Commit cd27f7d

Browse files
committed
Fix checkout path
1 parent dad1fa7 commit cd27f7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,16 @@ jobs:
112112
uses: actions/checkout@v4
113113
with:
114114
ref: gh-pages
115-
path: ../gh-pages
115+
path: gh-pages
116116

117117
- name: Update gh-pages branch
118118
run: |
119119
# Copy to versions/ subdirectory
120-
mkdir -p ../gh-pages/versions/${{ env.version }}
121-
cp -r _site/* ../gh-pages/versions/${{ env.version }}
120+
mkdir -p gh-pages/versions/${{ env.version }}
121+
cp -r _site/* gh-pages/versions/${{ env.version }}
122122
123123
# Find the latest version of the docs and copy that to the root
124-
cd ../gh-pages/versions
124+
cd gh-pages/versions
125125
LATEST_DOCS=$(ls -d * | sort -V | tail -n 1)
126126
cp -r $LATEST_DOCS/* ../
127127

0 commit comments

Comments
 (0)