Skip to content

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
avaneesh2001 authored Oct 6, 2024
1 parent 5a4d5e8 commit 4835e80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
# Run Doxygen to generate docs (adjust command if necessary)
doxygen Doxyfile
- name: Move docs to gh-pages branch
- name: Move docs to gh-pages/docs directory
run: |
# Remove existing docs and copy the newly generated ones to the correct location
# Remove existing docs and copy the newly generated ones to the gh-pages/docs folder
rm -rf gh-pages/docs/*
mv Docs/html/* gh-pages/docs/ # Move generated docs to the /docs folder
mv Docs/html/* gh-pages/docs/ # Move generated docs to the /gh-pages/docs folder
rm -rf gh-pages/docs/index.html # Optionally remove existing index.html to avoid conflicts
- name: Commit and Push Changes
Expand Down

0 comments on commit 4835e80

Please sign in to comment.