Skip to content

Commit

Permalink
Change options and output
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Dikhoff committed Oct 25, 2024
1 parent d702a50 commit 4fac0fa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ then
gitBranch=$CF_PAGES_BRANCH
fi
gitCommitMessage="branch $gitBranch on $date"
redotDocsLiveBranch=${2:-develop}
redotDocsLiveBranch=${1:-develop}

inputDir="."
migrateDir="_migrated"
Expand All @@ -38,9 +38,9 @@ rm -rf $repoDir

# Init git

echo "Migrate Godot to Redot, options $1"
echo "Migrate Godot to Redot"
mkdir -p $migrateDir
# python migrate.py $1 $inputDir $migrateDir
# python migrate.py $inputDir $migrateDir

echo "Translate to html"
mkdir -p $sphinxDir
Expand Down Expand Up @@ -99,4 +99,6 @@ git add .
git commit --message "$gitCommitMessage"
git push --force

mkdir output
echo "Build finished. Commit message: $gitCommitMessage" > output/index.html
echo "Done. Made by @Craptain"

0 comments on commit 4fac0fa

Please sign in to comment.