Skip to content

Commit

Permalink
Update website-v1-7.yml
Browse files Browse the repository at this point in the history
Add safe workspace

Signed-off-by: Marc Duiker <[email protected]>
  • Loading branch information
marcduiker authored Feb 20, 2024
1 parent 754fefa commit f425d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/website-v1-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand Down

0 comments on commit f425d32

Please sign in to comment.