Added hydraulic and svg #75
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to GitHub Pages | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy-to-github-pages: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup .NET Core SDK 3.1 | |
| uses: actions/setup-dotnet@v2.1.0 | |
| with: | |
| dotnet-version: 7.0.102 | |
| - name: publish .NET Core Project | |
| run: dotnet publish BoGLWeb/BoGLWeb.csproj -c Release -o release --nologo | |
| - name: Commit wwwroot to GitHub Pages | |
| uses: JamesIves/github-pages-deploy-action@3.7.1 | |
| with: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| BRANCH: gh-pages | |
| FOLDER: release/wwwroot | |
| - name: Add .nojekyll file | |
| run: touch release/wwwroot/.nojekyll | |
| - name: copy index.html to 404.html | |
| run: cp release/wwwroot/index.html release/wwwroot/404.html | |