Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
working-directory: src/client
- run: yarn stylelint
working-directory: src/client
- run: yarn build
- run: yarn build --mode production
working-directory: src/client
- name: Upload build artifacts
uses: actions/upload-artifact@v7
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
working-directory: src/client
- run: yarn stylelint
working-directory: src/client
- run: yarn build
- run: yarn build --mode production
working-directory: src/client
- name: Upload build artifacts
uses: actions/upload-artifact@v7
Expand All @@ -50,6 +50,8 @@ jobs:
with:
name: client-build
path: ./src/server/LowPressureZone.Api/wwwroot
- name: Update launchSettings.json to production information
run: mv ./src/server/LowPressureZone.Api/Properties/launchSettings-production.json ./src/server/LowPressureZone.Api/Properties/launchSettings.json
- name: Publish to Folder
run: dotnet publish ./src/server/LowPressureZone.Api/LowPressureZone.Api.csproj -c Release -o ./publish
- name: Zip Publish Output
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ temporaryFiles
tools/mounts/azuracast
tools/mounts/icecast2
/LowPressureZone.sln.DotSettings.user
wwwroot
4 changes: 1 addition & 3 deletions src/client/.env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
VITE_API_URL=https://localhost:5002/api
VITE_LISTEN_URL=http://localhost:8000/live
VITE_STREAM_STATUS_URL=http://localhost:8000/
VITE_API_URL=https://localhost:5002/api
4 changes: 1 addition & 3 deletions src/client/.env.production
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
VITE_API_URL=https://lowpressurezone.com/api
VITE_LISTEN_URL=https://lowpressurezone.com:8443/live
VITE_STREAM_STATUS_URL=https://lowpressurezone.com:8443/
VITE_API_URL=https://lowpressurezone.com/api
1 change: 1 addition & 0 deletions src/client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export default defineConfig(() => {
},
build: {
outDir: './../server/LowPressureZone.Api/wwwroot',
emptyOutDir: true,
license: true
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/server/LowPressureZone.Api/LowPressureZone.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<UserSecretsId>9d2c548d-3c62-4409-9c65-fe1fa2b047b1</UserSecretsId>
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<Version>1.6.2</Version>
<Version>1.6.4</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Loading
Loading