-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
peaceiris/actions-gh-pages@v3 was ridiculously slow
- Loading branch information
1 parent
81f5383
commit 317eaca
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,8 +34,19 @@ echo "--- Going to gh-pages repo ---" | |
cd ../../gh-pages || exit $? | ||
cd api || exit $? | ||
echo "--- Removing old ${OGRE_VERSION} ---" | ||
git rm -rf ${OGRE_VERSION} || exit $? | ||
rm -rf ${OGRE_VERSION} || exit $? | ||
echo "--- Copying new ${OGRE_VERSION} ---" | ||
mv ../../build/Doxygen/api/html ${OGRE_VERSION} || exit $? | ||
|
||
git config user.email "darksylinc" | ||
git config user.name "[email protected]" | ||
|
||
echo "--- Adding to ${OGRE_VERSION} to git ---" | ||
git add ${OGRE_VERSION} || exit $? | ||
echo "--- Committing ---" | ||
git commit -m "Deploy GH" || exit $? | ||
echo "--- Pushing repo... ---" | ||
git push || exit $? | ||
|
||
echo "Done!" |