diff --git a/.github/workflows/website-v1-15.yml b/.github/workflows/website-v1-15.yml index 621f416f1..06e862854 100644 --- a/.github/workflows/website-v1-15.yml +++ b/.github/workflows/website-v1-15.yml @@ -27,7 +27,11 @@ jobs: cd .. sudo npm install -D --save autoprefixer sudo npm install -D --save postcss-cli - - name: Build And Deploy + - name: Build Hugo Website + run: | + git config --global --add safe.directory /github/workspace + hugo + - name: Deploy Website id: builddeploy uses: Azure/static-web-apps-deploy@v1 env: @@ -40,10 +44,8 @@ jobs: action: "upload" ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: "/" # App source code path - api_location: "api" # Api source code path - optional - output_location: "/daprdocs/public" # Built app content directory - optional - app_build_command: "git config --global --add safe.directory /github/workspace && hugo" + app_location: "/daprdocs/public" # App source code path + output_location: "/" # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: