Skip to content

Commit

Permalink
.github/workflows/Lucene-Net-Website.yml: Added task to store the bui…
Browse files Browse the repository at this point in the history
…lt website as a build artifact in case the PR fails
  • Loading branch information
NightOwl888 committed Feb 1, 2024
1 parent 653a4b1 commit 43e0e89
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/Lucene-Net-Website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ jobs:
run: ./main-repo/websites/site/site.ps1 -Clean
shell: powershell

- name: Upload website as build artifact
uses: actions/upload-artifact@v3
if: ${{always()}}
with:
name: 'website'
path: '${{github.workspace}}/main-repo/websites/site/_site'

- name: Checkout Lucene.Net website
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 43e0e89

Please sign in to comment.