Skip to content

Commit

Permalink
Port build improvements from aspnet-contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchalet committed Jul 1, 2024
1 parent d2438f2 commit f5da2e8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Checkout submodule
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: openiddict/openiddict-core
path: submodules/openiddict-core

- name: Build documentation
uses: nikeee/[email protected]
uses: nikeee/docfx-action@b9c2cf92e3b4aa06878a1410833a8828b4bdcd26 # v1.0.0
with:
args: docfx.json

- name: Publish website artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: website
path: ./_site
Expand All @@ -43,16 +43,16 @@ jobs:
if: github.event.repository.fork == false && github.ref == 'refs/heads/dev'
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Download website
uses: actions/download-artifact@v4
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: website
path: ./_site

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@5c6e9e9f3672ce8fd37b9856193d2a537941e66c # v4.6.0
with:
branch: gh-pages
folder: _site
Expand Down

0 comments on commit f5da2e8

Please sign in to comment.