You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deployer runs before Node.js Extensions compiles the assets so it won't create the necessary Media steps in the Media Theme recipe. The workaround is to commit the content of wwwroot.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Deployer runs before Node.js Extensions compiles the assets
Deployer runs before Node.js Extensions compiles the assets (OSOE-674)
Aug 22, 2023
I'm importing the Lombiq.Hosting.MediaTheme.Targets.props and targets files in the theme's csproj. It executes the following target before build: <Target Name="RunMediaThemeDeployer" BeforeTargets="BeforeBuild"> <Exec Command="dotnet media-theme-deploy --path . --base-id $(MediaThemeBaseId) --clear true --deployment-path $(DeploymentFolder) --deployment-file-name $(MediaThemeRecipeFileName)"/> </Target>
This is the issue with that project then. The Deployer doesn't have anything to do with compilation. You need to change that project to execute the Deployer at a better time in the build pipeline.
Deployer runs before Node.js Extensions compiles the assets so it won't create the necessary Media steps in the Media Theme recipe. The workaround is to commit the content of wwwroot.
Jira issue
The text was updated successfully, but these errors were encountered: