Skip to content

Commit

Permalink
generate branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim8y committed Oct 12, 2023
1 parent 4e2c1c7 commit c0238b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
export PATH="$PATH:/home/runner/.dotnet/tools"
docfx docfx.json
- name: Ensure branch exists
run: |
git fetch
git checkout ${{ github.ref }}
git checkout -b docs || git checkout docs
# Optional: Push Generated Documentation to Repository
- name: Push Generated Documentation to Repository
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down

0 comments on commit c0238b6

Please sign in to comment.