From f425d325274dd6950d7667a20cb9cc17eb7255ab Mon Sep 17 00:00:00 2001 From: Marc Duiker Date: Tue, 20 Feb 2024 14:59:02 +0100 Subject: [PATCH] Update website-v1-7.yml Add safe workspace Signed-off-by: Marc Duiker --- .github/workflows/website-v1-7.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/website-v1-7.yml b/.github/workflows/website-v1-7.yml index c2486db1436..a7729f425ce 100644 --- a/.github/workflows/website-v1-7.yml +++ b/.github/workflows/website-v1-7.yml @@ -23,7 +23,7 @@ jobs: run: cd daprdocs && git submodule update --init --recursive && sudo npm install -D --save autoprefixer && sudo npm install -D --save postcss-cli - name: Build And Deploy id: builddeploy - uses: Azure/static-web-apps-deploy@v0.0.1-preview + uses: Azure/static-web-apps-deploy@v1 env: HUGO_ENV: production HUGO_VERSION: "0.100.2" @@ -37,7 +37,7 @@ jobs: app_location: "/daprdocs" # App source code path api_location: "api" # Api source code path - optional output_location: "public" # Built app content directory - optional - app_build_command: "hugo" + app_build_command: "git config --global --add safe.directory /github/workspace && hugo" ###### End of Repository/Build Configurations ###### close_pull_request_job: