diff --git a/.github/workflows/azure-preview-env-deploy.yml b/.github/workflows/azure-preview-env-deploy.yml index c547fcf5e9..8ebee0da09 100644 --- a/.github/workflows/azure-preview-env-deploy.yml +++ b/.github/workflows/azure-preview-env-deploy.yml @@ -187,6 +187,8 @@ jobs: - if: ${{ env.IS_PUBLIC_BUILD == 'true' }} name: Move acceptable user changes run: | + # Don't allow users to change code here + rm -rf ./user-code/src/workflows # Make sure recursive path expansion is enabled shopt -s globstar rsync -rptovR ./user-code/content/./**/*.md ./content