Skip to content

Commit 0fe5afc

Browse files
committed
nojekyll after generating the page
1 parent 79cf140 commit 0fe5afc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/publish-to-gh-pages.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ jobs:
2727
sed -i 's|<base href="/" />|<base href="/'$REPO_NAME'/" />|g' ${{ env.WEBAPP_PATH }}/Components/App.razor
2828
fi
2929
30-
- run: touch ${{ env.WEBAPP_PATH }}/wwwroot/.nojekyll #folder starting with _ are handled as jekyll. This file will prevent that.
31-
32-
- name: Run webapp and generate static files
33-
run: |
30+
31+
- name: Run webapp and generate static files
32+
run: |
3433
dotnet run --project ${{ env.WEBAPP_PATH }}${{env.WEBAPP_CSPROJ}} --configuration Release
35-
34+
35+
- run: touch ${{ env.WEBAPP_PATH }}/output/.nojekyll #folder starting with _ are handled as jekyll. This file will prevent that.
36+
3637
- name: Deploy to GitHub Pages
3738
uses: JamesIves/github-pages-deploy-action@v4
3839
with:

0 commit comments

Comments
 (0)