Skip to content

Commit b2975d8

Browse files
authored
Add '.nojekyll' file in the 'docs' output so that the prebuilt documentation gets published (#1365)
1 parent f24b0d3 commit b2975d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/update-gh-pages-documentation-site

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ swift package \
7474
--hosting-base-path swift-docc \
7575
--output-path "$DOCC_UTILITIES_OUTPUT_DIR"
7676

77-
echo -e "\033[34;1m Merging docs \033q[0m"
77+
echo -e "\033[34;1m Merging docs \033[0m"
7878

7979
# Remove the output directory so that the merge command can output there
8080
rm -rf "$SWIFT_DOCC_ROOT/gh-pages/docs"
@@ -90,6 +90,7 @@ CURRENT_COMMIT_HASH=`git rev-parse --short HEAD`
9090

9191
# Commit and push our changes to the gh-pages branch
9292
cd gh-pages
93+
touch docs/.nojekyll # We need this (empty) file so that GitHub Pages will publish our prebuilt documentation.
9394
git add docs
9495

9596
if [ -n "$(git status --porcelain)" ]; then

0 commit comments

Comments
 (0)