Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vsmalladi authored Feb 24, 2025
1 parent 55f208b commit 5a8ada2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
folder: openapi
target-folder: ${{ github.ref == 'refs/heads/main' && 'docs/index.html' || '' }} # Deploy to docs/index.html only if on main
clean: ${{ github.ref == 'refs/heads/main' }} # Clean only if on the main branch
clean: true # Clean only if on the main branch

0 comments on commit 5a8ada2

Please sign in to comment.