diff --git a/bin/update-gh-pages-documentation-site b/bin/update-gh-pages-documentation-site index 0c1e59aa..daf19fed 100755 --- a/bin/update-gh-pages-documentation-site +++ b/bin/update-gh-pages-documentation-site @@ -53,6 +53,9 @@ swift package \ # Save the current commit we've just built documentation from in a variable CURRENT_COMMIT_HASH=`git rev-parse --short HEAD` +# Copy the redirect file into the 'gh-pages' directory +cp lib/redirect.html gh-pages/docs/index.html + # Commit and push our changes to the gh-pages branch cd gh-pages git add docs diff --git a/lib/redirect.html b/lib/redirect.html new file mode 100644 index 00000000..bba39d41 --- /dev/null +++ b/lib/redirect.html @@ -0,0 +1,10 @@ + + +
+Redirecting...
+ +