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: