Skip to content

Commit

Permalink
Copy html files instead of moving them
Browse files Browse the repository at this point in the history
Signed-off-by: Chihurumnaya Ibiam <ibiam@sugarlabs.org>
  • Loading branch information
chimosky committed May 9, 2024
1 parent 09cbdc7 commit 4017b2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ sudo make
show-green "Building documentation"
sudo ./make-doc.sh
mkdir deploy
mv doc/_build/html deploy/sugar3
sudo cp -r doc/_build/html deploy/sugar3
touch deploy/.nojekyll
# create an index.html so that users don't become confused
show-green "Writing index.html"
echo "<h1>Page Moved</h1>" > deploy/index.html
echo "<p>We have moved this page to <a href=\"https://github.com/sugarlabs/sugar-docs/blob/master/README.md\">GitHub</a>.</p>" >> deploy/index.html
echo "<p>How did you get here? Please <a href=\"https://github.com/sugarlabs/sugar-docs/issues\">report</a> any lingering links.</p>" >> deploy/index.html
sudo echo "<h1>Page Moved</h1>" > deploy/index.html
sudo echo "<p>We have moved this page to <a href=\"https://github.com/sugarlabs/sugar-docs/blob/master/README.md\">GitHub</a>.</p>" >> deploy/index.html
sudo echo "<p>How did you get here? Please <a href=\"https://github.com/sugarlabs/sugar-docs/issues\">report</a> any lingering links.</p>" >> deploy/index.html

show-green "Done"

0 comments on commit 4017b2e

Please sign in to comment.