From a1863280a10cff9739901e9853bd67c6dd5339df Mon Sep 17 00:00:00 2001 From: Aaron Crawfis Date: Wed, 20 Sep 2023 10:40:23 -0400 Subject: [PATCH] Add parents flag --- .github/workflows/publish-docs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index c6df2c7755..9645920b31 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -49,7 +49,7 @@ jobs: for file in $RESOURCE_DOCS; do fileTarget=${file#radius/hack/bicep-types-radius/generated/} echo Copying $file to docs/docs/snippets/resource-docs/$fileTarget - cp $file docs/docs/snippets/resource-docs/$fileTarget + cp -p $file docs/docs/snippets/resource-docs/$fileTarget done - name: Upload resource reference docs uses: actions/upload-artifact@v3