From 35152b8e4568b5654646f52a366116b7fb46871e Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 14 Sep 2024 11:27:45 +0200 Subject: [PATCH] some fixes --- .github/workflows/web.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 2c82090..bcb214e 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -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: @@ -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 @@ -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 @@ -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