Skip to content

Commit

Permalink
idk fixed some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Aug 5, 2024
1 parent 428cef3 commit 73d2ae2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,16 @@ jobs:
dest="${dest:-$branch}"
# Checkout each branch and generate documentation
echo "Checking out branch: $branch"
git checkout $branch
doxygen Doxyfile
echo "Running Doxygen for branch: $branch"
doxygen Doxyfile || { echo "Doxygen failed for branch: $branch"; exit 1; }
# Move generated files to the correct directory
echo "Moving documentation for $branch to docs/$dest"
mkdir -p docs/$dest
mv -v docs/* docs/$dest/
mv -v docs/* docs/$dest/ || { echo "Move failed for branch: $branch"; exit 1; }
# Clean up to prepare for the next branch
rm -rf docs/*
Expand Down

0 comments on commit 73d2ae2

Please sign in to comment.