mirror of https://github.com/dapr/docs.git
Use separate build step to avoid incompatible Hugo version with Oryx
Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
This commit is contained in:
parent
9576fc0701
commit
3376e0caa7
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue