From 0fe5afc3801b7a4996d8c441af93f156b4d6eb6f Mon Sep 17 00:00:00 2001 From: tesar-tech Date: Mon, 30 Sep 2024 20:30:58 +0200 Subject: [PATCH] nojekyll after generating the page --- .github/workflows/publish-to-gh-pages.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-to-gh-pages.yml b/.github/workflows/publish-to-gh-pages.yml index b76ba6f..a262885 100644 --- a/.github/workflows/publish-to-gh-pages.yml +++ b/.github/workflows/publish-to-gh-pages.yml @@ -27,12 +27,13 @@ jobs: sed -i 's|||g' ${{ env.WEBAPP_PATH }}/Components/App.razor fi - - run: touch ${{ env.WEBAPP_PATH }}/wwwroot/.nojekyll #folder starting with _ are handled as jekyll. This file will prevent that. - - - name: Run webapp and generate static files - run: | + + - name: Run webapp and generate static files + run: | dotnet run --project ${{ env.WEBAPP_PATH }}${{env.WEBAPP_CSPROJ}} --configuration Release - + + - run: touch ${{ env.WEBAPP_PATH }}/output/.nojekyll #folder starting with _ are handled as jekyll. This file will prevent that. + - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@v4 with: