Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
JW Wesson committed Dec 27, 2024
1 parent 239e005 commit 1ccc66d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: site
name: site-${{ matrix.runs-on }}
path: docfx/_site

#the github-pages-deploy-action needs to run on ubuntu, so use upload/download artifact to generate on windows and publish on ubuntu
Expand All @@ -68,13 +68,14 @@ jobs:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: site
path: site
pattern: site-*
# publish the generated docs into the /docs folder on a new commit in this branch
- name: Publish DocFX to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: ${{ steps.extract_branch.outputs.branch }}
folder: site #use the downloaded artifact name here
folder: site #use the downloaded artifact path here
target-folder: docs
git-config-name: Continuous Integration
git-config-email: devs@sovren.com
Expand Down

0 comments on commit 1ccc66d

Please sign in to comment.