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