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
12 changes: 10 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ resources:
services:
mongo: mongo

pool:
vmImage: 'ubuntu-22.04'

variables:
buildConfiguration: 'Release'

Expand Down Expand Up @@ -57,7 +60,12 @@ steps:
inputs:
command: publish
publishWebProjects: True
arguments: '--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)'
arguments: '--configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)'
zipAfterPublish: True

- task: PublishPipelineArtifact@1
- task: PublishPipelineArtifact@1
displayName: 'Publish artifact'
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)'
artifact: 'drop'
publishLocation: 'pipeline'
6 changes: 3 additions & 3 deletions src/Plugins/Theme.Modern/Views/Modern/Shared/Head.cshtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@{
<script asp-location="Head" src="/bundles/app.runtime.bundle.js"></script>
<script asp-location="Head" src="/bundles/chunk-vendors.runtime.bundle.js"></script>
<link asp-src="/bundles/libs.css" rel="stylesheet">
<script asp-location="Head" src="/bundles/app.runtime.bundle.js" asp-append-version="true"></script>
<script asp-location="Head" src="/bundles/chunk-vendors.runtime.bundle.js" asp-append-version="true"></script>
<link asp-src="/bundles/libs.css" rel="stylesheet" asp-append-version="true">

<link rel="stylesheet" type="text/css" asp-src="/assets/custom/style.css">

Expand Down
10 changes: 5 additions & 5 deletions src/Web/Grand.Web/Views/Shared/Partials/Head.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
@{
var supportRtl = contextAccessor.WorkContext.WorkingLanguage.Rtl;

<script asp-location="Head" src="/bundles/app.runtime.bundle.js"></script>
<script asp-location="Head" src="/bundles/chunk-vendors.runtime.bundle.js"></script>
<link asp-src="/bundles/libs.css" rel="stylesheet">
<script asp-location="Head" src="/bundles/app.runtime.bundle.js" asp-append-version="true"></script>
<script asp-location="Head" src="/bundles/chunk-vendors.runtime.bundle.js" asp-append-version="true"></script>
<link asp-src="/bundles/libs.css" rel="stylesheet" asp-append-version="true">

<link rel="stylesheet" type="text/css" asp-src="/assets/custom/style.css">

Expand All @@ -32,11 +32,11 @@
<environment include="Production">
@if (supportRtl)
{
<link rel="stylesheet" type="text/css" asp-src="/bundles/style.rtl.min.css">
<link rel="stylesheet" type="text/css" asp-src="/bundles/style.rtl.min.css" asp-append-version="true">
}
else
{
<link rel="stylesheet" type="text/css" asp-src="/bundles/style.min.css">
<link rel="stylesheet" type="text/css" asp-src="/bundles/style.min.css" asp-append-version="true">
}
</environment>

Expand Down
Loading
Loading