forked from godotengine/godot-docs
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve build to work in a production setting
* Add extra logging for troubleshooting * Add 'FULL_RUN' flag to test short runs first
- Loading branch information
Arjan Dikhoff
committed
Oct 25, 2024
1 parent
2310323
commit b5659d0
Showing
1 changed file
with
13 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,13 +34,16 @@ rm -rf $migrateDir | |
rm -rf $sphinxDir | ||
rm -rf $repoDir | ||
|
||
echo "Migrate Godot to Redot" | ||
mkdir -p $migrateDir | ||
python migrate.py $inputDir $migrateDir | ||
|
||
echo "Translate to html" | ||
mkdir -p $sphinxDir | ||
sphinx-build -b html -j 4 $migrateDir $sphinxDir | ||
if [ -n "$FULL_RUN" ] | ||
then | ||
echo "Migrate Godot to Redot" | ||
python migrate.py $inputDir $migrateDir | ||
|
||
echo "Translate to html" | ||
sphinx-build -b html -j 4 $migrateDir $sphinxDir | ||
fi | ||
|
||
echo "DUMMY FILE FOR TESTING: $date" > $sphinxDir/test.html | ||
|
||
|
@@ -80,7 +83,11 @@ then | |
git config user.email "[email protected]" | ||
git config user.name "Redot Docs Build Worker" | ||
fi | ||
|
||
echo "### SSH CONFIG VALUES ###" | ||
ls -la ~/.ssh | ||
cat ~/.ssh/known_hosts | ||
echo "### SSH TEST ###" | ||
ssh -T -vv [email protected] | ||
echo "### GIT CONFIG VALUES ###" | ||
git config core.pager cat | ||
git config --list | ||
|