Skip to content

Commit

Permalink
minify step
Browse files Browse the repository at this point in the history
  • Loading branch information
nor0x committed Sep 8, 2024
1 parent 8487655 commit 2e03e17
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ jobs:
(Get-Content -Path WahlGPT.Common/Settings.cs) -replace 'BLOB_CONNECTION_STRING', '${{ secrets.BLOB_CONNECTION_STRING }}' | Set-Content -Path WahlGPT.Common/Settings.cs
(Get-Content -Path WahlGPT.Common/Settings.cs) -replace 'VERSION_HASH', '${{ github.sha }}' | Set-Content -Path WahlGPT.Common/Settings.cs
- name: auto minify the files
uses: nizarmah/auto-minify@v3
with:
directory: 'WahlGPT.Web/wwwroot'
overwrite: true

# publishes Blazor project to the release-folder
- name: Publish .NET Core Project
run: dotnet publish WahlGPT.Web/WahlGPT.Web.csproj -c Release -o release --nologo
Expand Down

0 comments on commit 2e03e17

Please sign in to comment.