Azure / Azure/static-web-apps

I have a docFx documentation that I want to push to an Azure Static Web App, My toc.yml is not loading or missing

Open
#783 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

toc.yml:1 Failed to load resource: the server responded with a status of 404 (Not Found)
toc.yml:1 Failed to load resource: the server responded with a status of 404 (Not Found)
toc.yml:1 Failed to load resource: the server responded with a status of 404 (Not Found).

This is my yaml file.
trigger:
- master

pool:
name: *******

steps:
# NuGet tool installer
- task: NuGetToolInstaller@1
displayName: Installing Nuget
# Fetch and install DocFX client
- task: CmdLine@2
inputs:
script: 'nuget install docfx.console -Version 2.55.0 -OutputDirectory .packages'
displayName: Fetch and install DocFX client

# Build Docs with DocFX
- task: CmdLine@2
inputs:
script: '".packages\docfx.console.2.55.0\tools\docfx.exe" "documentation/docfx.json" --loglevel=Warning'
displayName: Build Docs with DocFX
- task: CopyFiles@2
inputs:
targetFolder: '$(Build.ArtifactStagingDirectory)'

- task: PublishBuildArtifacts@1
condition: always()
displayName: 'Publish Artifact: drop'
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.