diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index 43979e2e19..12b86ecbb0 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -51,7 +51,7 @@ jobs: fileTarget=${file#radius/hack/bicep-types-radius/generated/} dirTarget=$(dirname $fileTarget) echo "Copying $file to docs/docs/snippets/resource-docs/$dirTarget" - cp -p $file docs/docs/snippets/resource-docs/$dirTarget + cp $file -t docs/docs/snippets/resource-docs/$dirTarget done - name: Upload resource reference docs uses: actions/upload-artifact@v3