Skip to content

Commit

Permalink
chore: update generation action
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 committed Mar 25, 2024
1 parent f7c4454 commit 32c20c7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/generate-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,18 @@ jobs:
git checkout $CURRENT_BRANCH -- docs
mv docs/* .
- name: Build Index Page
run: |
touch index.html
echo "<!DOCTYPE html><html><head><title>Expedia Group SDK Reference Documentation</title></head><body><h1>Expedia Group SDK Reference Documentation</h1><ul>" > index.html
for dir in $(ls -d */); do
echo "<li><a href=\"${dir}index.html\">${dir}</a></li>" >> index.html
done
echo "</ul></body></html>" >> index.html
- name: Commit
run: |
git add .
git commit -m "chore: publishing docs for version ${{ github.event.inputs.version }}"
Expand Down

0 comments on commit 32c20c7

Please sign in to comment.