Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellpeck committed Sep 14, 2024
1 parent 4680144 commit 35152b8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
- name: Upload demo artifact
uses: actions/upload-artifact@v4
with:
path: Demos.Web/bin/*/net*/publish/wwwroot
path: Demos.Web/bin/Release/net8.0/publish/wwwroot
name: demo
include-hidden-files: true
if-no-files-found: error
build-docs:
runs-on: ubuntu-latest
steps:
Expand All @@ -40,6 +42,8 @@ jobs:
with:
path: Docs/_site
name: docs
include-hidden-files: true
if-no-files-found: error
deploy:
needs: [build-demo, build-docs]
runs-on: ubuntu-latest
Expand All @@ -48,10 +52,12 @@ jobs:
uses: actions/download-artifact@v4
with:
name: demo
path: demo
- name: Download docs artifact
uses: actions/download-artifact@v4
with:
name: docs
path: docs
- name: Combine sites
run: |
mv docs _site
Expand All @@ -61,6 +67,8 @@ jobs:
with:
path: _site
name: site
include-hidden-files: true
if-no-files-found: error
- name: Deploy
if: startsWith(github.ref, 'refs/tags/')
# this is a beautiful way to deploy a website and i will not take any criticism
Expand Down

0 comments on commit 35152b8

Please sign in to comment.